diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-11 14:20:05 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-11 14:49:07 +1000 |
commit | ffa8a602e7ae20c7430090360818d635f13b392d (patch) | |
tree | 1551e7c377e7d3946c3589b44e6b4f97fb3d5927 /include/X11/extensions/XInput2.h | |
parent | 5ff39db5c98a9e7e0e85ead6f4ffc59f6f071bd6 (diff) |
Add support for XI2 Enter/Leave events
Diffstat (limited to 'include/X11/extensions/XInput2.h')
-rw-r--r-- | include/X11/extensions/XInput2.h | 27 |
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 |