From 48cf9a56066c4b5a2136310da3cd6846dcf3b607 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 10 Jun 2009 15:13:03 +1000 Subject: [PATCH] Add note that bumping XI_LASTEVENT requires changes to the server. Signed-off-by: Peter Hutterer --- XI2.h | 3 +++ 1 file changed, 3 insertions(+) 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