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.
This commit is contained in:
Carlos Garnacho 2015-11-19 20:06:07 +01:00
parent a72974252f
commit c405f810cd

View File

@ -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
*/