aboutsummaryrefslogtreecommitdiff
path: root/libX11/include/X11/Xlib.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-02 19:17:00 +0000
committermarha <marha@users.sourceforge.net>2009-09-02 19:17:00 +0000
commit7842eeba5f0567175c41728d3eaae59fcbdef7a6 (patch)
tree53840a037bfe76f55afca5891b9eb689caa9094b /libX11/include/X11/Xlib.h
parente5072ee10b7ce789b67554e9000070c78f0f3d89 (diff)
downloadvcxsrv-7842eeba5f0567175c41728d3eaae59fcbdef7a6.tar.gz
vcxsrv-7842eeba5f0567175c41728d3eaae59fcbdef7a6.tar.bz2
vcxsrv-7842eeba5f0567175c41728d3eaae59fcbdef7a6.zip
Switch to libX11-1.2.99.901.tar.gz
Diffstat (limited to 'libX11/include/X11/Xlib.h')
-rw-r--r--libX11/include/X11/Xlib.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libX11/include/X11/Xlib.h b/libX11/include/X11/Xlib.h
index 682988cf2..2c30bc09e 100644
--- a/libX11/include/X11/Xlib.h
+++ b/libX11/include/X11/Xlib.h
@@ -966,6 +966,17 @@ typedef struct
int evtype; /* actual event type. */
} XGenericEvent;
+typedef struct {
+ int type; /* of event. Always GenericEvent */
+ unsigned long serial; /* # of last request processed */
+ Bool send_event; /* true if from SendEvent request */
+ Display *display; /* Display the event was read from */
+ int extension; /* major opcode of extension that caused the event */
+ int evtype; /* actual event type. */
+ unsigned int cookie;
+ void *data;
+} XGenericEventCookie;
+
/*
* this union is defined so Xlib can always use the same sized
* event structure internally, to avoid memory fragmentation.
@@ -1003,6 +1014,8 @@ typedef union _XEvent {
XMappingEvent xmapping;
XErrorEvent xerror;
XKeymapEvent xkeymap;
+ XGenericEvent xgeneric;
+ XGenericEventCookie xcookie;
long pad[24];
} XEvent;
#endif
@@ -3998,6 +4011,16 @@ extern int _Xwctomb(
wchar_t /* wc */
);
+extern Bool XGetEventData(
+ Display* /* dpy */,
+ XGenericEventCookie* /* cookie*/
+);
+
+extern void XFreeEventData(
+ Display* /* dpy */,
+ XGenericEventCookie* /* cookie*/
+);
+
_XFUNCPROTOEND
#endif /* _XLIB_H_ */