summaryrefslogtreecommitdiff
path: root/x11.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-08-12 16:40:09 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-08-12 16:50:41 -0700
commitb90bb97a5b8686ba050835724c6b299a0cfb0305 (patch)
tree81d76426bb76ba03565a4b45ed537ed84834dd85 /x11.h
parentf65c809fb7c269c2bf450274f424feab85ea95cb (diff)
downloadxscope-b90bb97a5b8686ba050835724c6b299a0cfb0305.tar.gz
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 <alan.coopersmith@sun.com>
Diffstat (limited to 'x11.h')
-rw-r--r--x11.h5
1 files changed, 5 insertions, 0 deletions
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 */