summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-13 15:37:32 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-13 15:39:17 +1000
commit94bfb0cc3ebbefe548b440f8c5e14154c3a76440 (patch)
tree9511cd4af715650791e6e65ab8806231561125fd /include
parente600e6cf47abd61bd3554967c4fdb0f78cc68f41 (diff)
Cater for new event-specific raw event types.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/XInput2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 72405f1..c6bfca0 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -238,12 +238,11 @@ typedef struct {
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; /* XI_RawEvent */
+ int evtype; /* XI_RawKeyPress, XI_RawKeyRelease, etc. */
Time time;
int deviceid;
int sourceid;
int detail;
- int eventtype;
XIValuatorState valuators;
double *raw_values;
} XIRawEvent;