Commit 9cfd1853 authored by Carlos Garnacho's avatar Carlos Garnacho

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: gnome-shell#540
parent 176117c5
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment