clutter: Handle grabs from CLUTTER_TABLET_DEVICE devices
Those would result in warnings. Actually, these should be dealt similarly to pointers, as they get their own standalone pointer cursor in Wayland. Related: https://gitlab.gnome.org/GNOME/gnome-shell/issues/540
This commit is contained in:
parent
176117c5f7
commit
9cfd185316
@ -2757,6 +2757,7 @@ clutter_input_device_grab (ClutterInputDevice *device,
|
||||
switch (device->device_type)
|
||||
{
|
||||
case CLUTTER_POINTER_DEVICE:
|
||||
case CLUTTER_TABLET_DEVICE:
|
||||
grab_actor = &(device->pointer_grab_actor);
|
||||
break;
|
||||
|
||||
@ -2802,6 +2803,7 @@ clutter_input_device_ungrab (ClutterInputDevice *device)
|
||||
switch (device->device_type)
|
||||
{
|
||||
case CLUTTER_POINTER_DEVICE:
|
||||
case CLUTTER_TABLET_DEVICE:
|
||||
grab_actor = &(device->pointer_grab_actor);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user