diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-02-07 09:56:51 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-02-08 15:26:11 -0500 |
commit | efa58a94722ecdff7b971300927dcf8afb7890c5 (patch) | |
tree | ae7c0bb399fc3267c62f29465be46b5f3464d034 | |
parent | eff9c0d2ead5076ca888fc7df9a0430804b2e650 (diff) | |
download | weston-efa58a94722ecdff7b971300927dcf8afb7890c5.tar.gz |
compositor-wayland: Hide cursor for compositor surfaces
-rw-r--r-- | src/compositor-wayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index f6b16f87..4b65db1d 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c @@ -399,6 +399,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); } |