summaryrefslogtreecommitdiff
path: root/include/X11/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/extensions')
-rw-r--r--include/X11/extensions/XInput2.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 11f335c..cdfd0a5 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -234,6 +234,33 @@ typedef struct {
double *raw_values;
} XIRawDeviceEvent;
+typedef struct {
+ int type; /* GenericEvent */
+ unsigned long serial; /* # of last request processed by server */
+ Bool send_event; /* true if this came from a SendEvent request */
+ Display *display; /* Display the event was read from */
+ int extension; /* XI extension offset */
+ int evtype;
+ Time time;
+ int detail;
+ Window root;
+ Window event;
+ Window child;
+ int deviceid;
+ int sourceid;
+ float root_x;
+ float root_y;
+ float event_x;
+ float event_y;
+ int mode;
+ Bool focus;
+ Bool same_screen;
+ XIButtonState *buttons;
+ XIModifierState *mods;
+ XIGroupState *group;
+} XIEnterEvent;
+
+typedef XIEnterEvent XILeaveEvent;
_XFUNCPROTOBEGIN