From b90bb97a5b8686ba050835724c6b299a0cfb0305 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 12 Aug 2009 16:40:09 -0700 Subject: Add GenericEvent support Allows extensions to register their own decoders for GenericEvents, though none do, since XInput isn't decoded yet Signed-off-by: Alan Coopersmith --- x11.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'x11.h') diff --git a/x11.h b/x11.h index db5abe7..2ed9569 100644 --- a/x11.h +++ b/x11.h @@ -258,6 +258,8 @@ #define BIGREQREQUEST 157 #define BIGREQREPLY 158 +#define EXTENSION 159 + #define MaxTypes 256 extern char ScopeEnabled; @@ -589,4 +591,7 @@ extern const char REQUESTHEADER[], EVENTHEADER[], ERRORHEADER[], REPLYHEADER[]; } \ } while (0) +/* Constant defined in Generic Event Protocol 1.0 for event type */ +#define Event_Type_Generic 35 + #endif /* XSCOPE_X11_H */ -- cgit v1.2.1