aboutsummaryrefslogtreecommitdiff
path: root/X11/extensions/XI2.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-07 16:18:35 +0100
committermarha <marha@users.sourceforge.net>2013-01-07 16:18:35 +0100
commit0a6391af3a2dd20b27c7dba9540cd3a43aff89af (patch)
treea8cb8d1735b5e7825a596407674648316f23faca /X11/extensions/XI2.h
parentb73b2300e7f9b90369efd2f14f086f68ee15d55f (diff)
parent034d6305a11c9d5dff9318aa897073402d08d705 (diff)
downloadvcxsrv-0a6391af3a2dd20b27c7dba9540cd3a43aff89af.tar.gz
vcxsrv-0a6391af3a2dd20b27c7dba9540cd3a43aff89af.tar.bz2
vcxsrv-0a6391af3a2dd20b27c7dba9540cd3a43aff89af.zip
Merge remote-tracking branch 'origin/released'
* origin/released: Switched to inputproto 2.2.99.1
Diffstat (limited to 'X11/extensions/XI2.h')
-rw-r--r--X11/extensions/XI2.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/X11/extensions/XI2.h b/X11/extensions/XI2.h
index e864b0635..b1498a755 100644
--- a/X11/extensions/XI2.h
+++ b/X11/extensions/XI2.h
@@ -30,7 +30,7 @@
See commit libXi-1.4.2-21-ge8531dd */
#define XI_2_Major 2
-#define XI_2_Minor 2
+#define XI_2_Minor 3
/* Property event flags */
#define XIPropertyDeleted 0
@@ -160,6 +160,11 @@
#define XITouchPendingEnd (1 << 16)
#define XITouchEmulatingPointer (1 << 17)
+/* Barrier event flags */
+#define XIBarrierPointerReleased (1 << 0)
+#define XIBarrierDeviceIsGrabbed (1 << 1)
+
+
/* Touch modes */
#define XIDirectTouch 1
#define XIDependentTouch 2
@@ -199,7 +204,9 @@
#define XI_RawTouchBegin 22
#define XI_RawTouchUpdate 23
#define XI_RawTouchEnd 24
-#define XI_LASTEVENT XI_RawTouchEnd
+#define XI_BarrierHit 25 /* XI 2.3 */
+#define XI_BarrierLeave 26
+#define XI_LASTEVENT XI_BarrierLeave
/* NOTE: XI2LASTEVENT in xserver/include/inputstr.h must be the same value
* as XI_LASTEVENT if the server is supposed to handle masks etc. for this
* type of event. */
@@ -232,5 +239,7 @@
#define XI_RawTouchBeginMask (1 << XI_RawTouchBegin)
#define XI_RawTouchEndMask (1 << XI_RawTouchEnd)
#define XI_RawTouchUpdateMask (1 << XI_RawTouchUpdate)
+#define XI_BarrierHitMask (1 << XI_BarrierHit)
+#define XI_BarrierLeaveMask (1 << XI_BarrierLeave)
#endif /* _XI2_H_ */