[gnome-control-center/gnome-3-22] common: Add "pad" GsdDeviceType to GsdDeviceManager



commit 18e67c6e383ee63c8cf0c46a3d839a8b393cbfb6
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jun 6 14:30:11 2016 +0200

    common: Add "pad" GsdDeviceType to GsdDeviceManager
    
    So we can recognize pad devices.
    
    Note:
      Cherry-picked from master commit 176dfca to fix
      https://bugzilla.gnome.org/show_bug.cgi?id=781846

 panels/common/gsd-device-manager.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/common/gsd-device-manager.h b/panels/common/gsd-device-manager.h
index baf46a8..59fad46 100644
--- a/panels/common/gsd-device-manager.h
+++ b/panels/common/gsd-device-manager.h
@@ -49,7 +49,8 @@ typedef enum {
        GSD_DEVICE_TYPE_KEYBOARD     = 1 << 1,
        GSD_DEVICE_TYPE_TOUCHPAD     = 1 << 2,
        GSD_DEVICE_TYPE_TABLET       = 1 << 3,
-       GSD_DEVICE_TYPE_TOUCHSCREEN  = 1 << 4
+       GSD_DEVICE_TYPE_TOUCHSCREEN  = 1 << 4,
+       GSD_DEVICE_TYPE_PAD          = 1 << 5
 } GsdDeviceType;
 
 struct _GsdDevice {


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