[gnome-settings-daemon] common: Fallback to GDK device type detection for Wacom touchscreens



commit d6f24b81425a61c09f004d5525f607b19a7da29a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Apr 22 12:58:17 2014 +0200

    common: Fallback to GDK device type detection for Wacom touchscreens
    
    libwacom support around touchscreens is unfortunately bumpy, and the
    "TOUCH" value in the "Wacom Tool Type" property doesn't discern direct
    from indirect touch devices, so ultimately rely on the GdkInputSource
    to set the "system-integrated" flag expected on touchscreens.

 plugins/common/gsd-device-mapper.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/common/gsd-device-mapper.c b/plugins/common/gsd-device-mapper.c
index 6949cac..853459e 100644
--- a/plugins/common/gsd-device-mapper.c
+++ b/plugins/common/gsd-device-mapper.c
@@ -780,6 +780,8 @@ input_info_update_capabilities_from_tool_type (GsdInputInfo *info)
                info->capabilities |= GSD_INPUT_IS_ERASER;
        else if (g_str_equal (tool_type, "PAD"))
                info->capabilities |= GSD_INPUT_IS_PAD;
+       else
+               return FALSE;
 
        return TRUE;
 }


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