[clutter/clutter-1.10] x11/device-manager-xi2: Remove heuristics for touchscreen devices
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.10] x11/device-manager-xi2: Remove heuristics for touchscreen devices
- Date: Wed, 11 Apr 2012 11:52:55 +0000 (UTC)
commit 0c2e0e75a0c3af7a4f59d640478fb6f2b75d8064
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]