diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-14 12:19:27 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-14 15:41:55 +1000 |
commit | b5ffba0906d279bede041490e1aa964356a619a3 (patch) | |
tree | 2caf195f8996b4a1eac7d206ea78703c701f1d09 | |
parent | c87b09d3995f97f39e4b64043243692b92d56e7b (diff) |
include: RawTouchEnd is the last event now
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | include/inputstr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/inputstr.h b/include/inputstr.h index 5aae1b512..e6847984b 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -49,6 +49,8 @@ SOFTWARE. #ifndef INPUTSTRUCT_H #define INPUTSTRUCT_H +#include <X11/extensions/XI2proto.h> + #include <pixman.h> #include "input.h" #include "window.h" @@ -71,7 +73,7 @@ extern _X_EXPORT int CountBits(const uint8_t *mask, int len); * events to the protocol, the server will not support these events until * this number here is bumped. */ -#define XI2LASTEVENT 17 /* XI_RawMotion */ +#define XI2LASTEVENT XI_RawTouchEnd #define XI2MASKSIZE ((XI2LASTEVENT >> 3) + 1) /* no of bytes for masks */ /** |