summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-08-24 13:32:30 -0700
committerChase Douglas <chase.douglas@canonical.com>2011-08-24 19:02:27 -0700
commitcec253561ab3feaa0a5a57fa8aa47db15662cf3d (patch)
treee09ad215ac3c4ba5690e5e9169763b399f228232 /XI2.h
parent1cb00433583341b3c52c8d3f62dcd19a55ddca29 (diff)
downloadxorg-proto-inputproto-cec253561ab3feaa0a5a57fa8aa47db15662cf3d.tar.gz
Introduce Touch grab mode
Touch grabs are not really synchronous nor asynchronous. Use a separate grab mode value for touch grabs, just to make the protocol seem more sane. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/XI2.h b/XI2.h
index f6bdbb2..2aea35e 100644
--- a/XI2.h
+++ b/XI2.h
@@ -72,6 +72,7 @@
/* Grab modes */
#define XIGrabModeSync 0
#define XIGrabModeAsync 1
+#define XIGrabModeTouch 2
/* Grab reply status codes */
#define XIGrabSuccess 0