summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-10 15:13:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-12 15:51:08 +1000
commit48cf9a56066c4b5a2136310da3cd6846dcf3b607 (patch)
tree5402e3d353a3cca4a17e6faaf6f49a29010df573 /XI2.h
parentbac0e02889392534138e8b98e516a0ea3c76847a (diff)
Add note that bumping XI_LASTEVENT requires changes to the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/XI2.h b/XI2.h
index 7fc76f0..06bc740 100644
--- a/XI2.h
+++ b/XI2.h
@@ -133,6 +133,9 @@
#define XI_RawEvent 12
#define XI_PropertyEvent 13
#define XI_LASTEVENT XI_PropertyEvent
+/* 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. */
/* Event masks.
* Note: the protocol spec defines a mask to be of (1 << type). Clients are