summaryrefslogtreecommitdiff
path: root/include/dix.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-09-20 15:03:06 +1000
committerChase Douglas <chase.douglas@ubuntu.com>2010-10-13 21:42:27 +0200
commita6cdd84853df31b8d2beffcbf7fbc5e51dbd74b5 (patch)
tree4147c8c3b56826ca841aa3f780bdf31e80ae3838 /include/dix.h
parentf7d671b89a6c4e00f1333960b56d18f69548628e (diff)
Input: Add initial multitouch support from Xi 2.1
Xi 2.1 adds TouchClasses to devices, as well as TouchBegin, TouchMotion and TouchEnd events, to allow support for multiple touchpoints on a single device. This is a full implementation of the Xi 2.1 additions. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'include/dix.h')
-rw-r--r--include/dix.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dix.h b/include/dix.h
index 7485e8ed4..dba8af3ca 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -369,6 +369,13 @@ extern void AllowSome(
DeviceIntPtr /* thisDev */,
int /* newState */);
+extern void AllowTouches(
+ ClientPtr /* client */,
+ TimeStamp /* time */,
+ DeviceIntPtr /* thisDev */,
+ int /* mode */,
+ uint32_t /* touchid */);
+
extern void ReleaseActiveGrabs(
ClientPtr client);