diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-11-19 20:06:07 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2015-11-19 23:26:48 +0100 |
commit | c405f810cdc8f1de7d60dde4f5e31ee81a88a382 (patch) | |
tree | 0ee5ef24f38fb7848196f4bb22dccb045264faf7 | |
parent | a72974252f32e69d7cd5d14df40568c9457f7abd (diff) | |
download | gtk+-c405f810cdc8f1de7d60dde4f5e31ee81a88a382.tar.gz |
wayland: Disallow setting the cursor on the touch master pointer
That "pointer" is not backed by anything in the windowing system, ignore
cursor updates there.
-rw-r--r-- | gdk/wayland/gdkdevice-wayland.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index eefd38cbc9..58f5b9ef77 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -283,6 +283,9 @@ gdk_wayland_device_set_window_cursor (GdkDevice *device, { GdkWaylandDeviceData *wd = GDK_WAYLAND_DEVICE (device)->device; + if (device == wd->touch_master) + return; + /* Setting the cursor to NULL means that we should use * the default cursor */ |