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:
parent
a72974252f
commit
c405f810cd
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user