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:
@ -283,6 +283,9 @@ gdk_wayland_device_set_window_cursor (GdkDevice *device,
|
|||||||
{
|
{
|
||||||
GdkWaylandDeviceData *wd = GDK_WAYLAND_DEVICE (device)->device;
|
GdkWaylandDeviceData *wd = GDK_WAYLAND_DEVICE (device)->device;
|
||||||
|
|
||||||
|
if (device == wd->touch_master)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Setting the cursor to NULL means that we should use
|
/* Setting the cursor to NULL means that we should use
|
||||||
* the default cursor
|
* the default cursor
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user