summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-02-07 09:56:51 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-02-07 09:56:51 -0500
commitd11d9444352b01712111f318fe49f8f41bc01119 (patch)
treea4103607a8a523e0a8c4acba34bb7e54ccc2cc33
parentcdd61d01680a3aa76bec90bf6c71f7151c47ccb9 (diff)
compositor-wayland: Hide cursor for compositor surfaces
-rw-r--r--src/compositor-wayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index d8bee21..ad09b84 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -381,6 +381,8 @@ input_handle_pointer_focus(void *data,
output = wl_surface_get_user_data(surface);
notify_pointer_focus(c->base.input_device,
time, &output->base, sx, sy);
+
+ wl_input_device_attach(input->input_device, time, NULL, 0, 0);
} else {
notify_pointer_focus(c->base.input_device, time, NULL, 0, 0);
}