summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-09-14 09:46:18 -0500
committerChase Douglas <chase.douglas@canonical.com>2011-09-14 15:19:17 -0500
commit2ea2f99f4fe1dcd3b8e539ca41c482fc40a0533d (patch)
treebb8f8e8e4a25a1a4ace7751308df4c1937cec2c7 /XI2.h
parent3c400af4f98740debd7916ad711cf91124a0f994 (diff)
Extend XIAllowEvents for handling touch grab processing
This removes the XIAllowTouchEvents request, which was the only new request added for multitouch. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/XI2.h b/XI2.h
index 2e19e03..2514d55 100644
--- a/XI2.h
+++ b/XI2.h
@@ -108,10 +108,8 @@
#define XIAsyncPairedDevice 3
#define XIAsyncPair 4
#define XISyncPair 5
-
-/* XIAllowTouchEvents bitmask event-modes */
-#define XITouchAccept (1 << 0)
-#define XITouchReject (1 << 1)
+#define XIAcceptTouch 6
+#define XIRejectTouch 7
/* DeviceChangedEvent change reasons */
#define XISlaveSwitch 1