[clutter] x11/device-manager-xi2: Remove heuristics for touchscreen	devices
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [clutter] x11/device-manager-xi2: Remove heuristics for touchscreen	devices
- Date: Sat,  7 Apr 2012 22:09:33 +0000 (UTC)
commit 86a5213473e9263b3c55864ac334099283e4a2ec
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Apr 7 23:07:59 2012 +0100
    x11/device-manager-xi2: Remove heuristics for touchscreen devices
    
    Devices that have touch valuator classes will be touchscreens or
    touchpads; anything else should be ignored.
 clutter/x11/clutter-device-manager-xi2.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/clutter/x11/clutter-device-manager-xi2.c b/clutter/x11/clutter-device-manager-xi2.c
index aad69c7..327f3b0 100644
--- a/clutter/x11/clutter-device-manager-xi2.c
+++ b/clutter/x11/clutter-device-manager-xi2.c
@@ -251,9 +251,6 @@ create_device (ClutterDeviceManagerXI2 *manager_xi2,
         source = CLUTTER_ERASER_DEVICE;
       else if (strstr (name, "cursor") != NULL)
         source = CLUTTER_CURSOR_DEVICE;
-      else if (strstr (name, "finger") != NULL ||
-               (strstr (name, "touch") != NULL && strstr (name, "touchpad") == NULL))
-        source = CLUTTER_TOUCHSCREEN_DEVICE;
       else if (strstr (name, "wacom") != NULL || strstr (name, "pen") != NULL)
         source = CLUTTER_PEN_DEVICE;
       else
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]