wayland: treat touchpads like mouse devices

They both serve the same purpose of moving
the pointer around, so they both should be
considered pointer devices on the seat.
This commit is contained in:
Ray Strode 2015-02-18 10:35:53 -05:00
parent b414955230
commit 56ca7eeb65

View File

@ -117,6 +117,7 @@ lookup_device_capabilities (ClutterDeviceManager *device_manager)
switch (device_type)
{
case CLUTTER_TOUCHPAD_DEVICE:
case CLUTTER_POINTER_DEVICE:
capabilities |= WL_SEAT_CAPABILITY_POINTER;
break;