[mutter/wip/carlosg/fix-x11-wacom-device: 46/46] backends: Consider pen/eraser devices when looking for matching WacomDevice



commit e6a29d4c803a607b092ae62957b8c264193d2b08
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Dec 13 17:01:44 2019 +0100

    backends: Consider pen/eraser devices when looking for matching WacomDevice
    
    Those device types are still in use through the X11 backend, breaking some
    checks around on that backend...
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/972

 src/backends/meta-input-settings.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/backends/meta-input-settings.c b/src/backends/meta-input-settings.c
index 28dc387ef..eb930f179 100644
--- a/src/backends/meta-input-settings.c
+++ b/src/backends/meta-input-settings.c
@@ -1618,6 +1618,8 @@ check_add_mappable_device (MetaInputSettings  *input_settings,
 
 #ifdef HAVE_LIBWACOM
   if (device_type == CLUTTER_TABLET_DEVICE ||
+      device_type == CLUTTER_PEN_DEVICE ||
+      device_type == CLUTTER_ERASER_DEVICE ||
       device_type == CLUTTER_PAD_DEVICE)
     {
       WacomError *error = libwacom_error_new ();


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