From 56ca7eeb657f0ef4be07e40bdbdcd54ff757ed2e Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 18 Feb 2015 10:35:53 -0500 Subject: [PATCH] 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. --- src/wayland/meta-wayland-seat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wayland/meta-wayland-seat.c b/src/wayland/meta-wayland-seat.c index 54b74dc93..ea7bd29d7 100644 --- a/src/wayland/meta-wayland-seat.c +++ b/src/wayland/meta-wayland-seat.c @@ -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;