[mutter] wayland: treat touchpads like mouse devices



commit 56ca7eeb657f0ef4be07e40bdbdcd54ff757ed2e
Author: Ray Strode <rstrode redhat com>
Date:   Wed Feb 18 10:35:53 2015 -0500

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wayland/meta-wayland-seat.c b/src/wayland/meta-wayland-seat.c
index 54b74dc..ea7bd29 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]