From 94bfb0cc3ebbefe548b440f8c5e14154c3a76440 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 13 Jul 2009 15:37:32 +1000 Subject: Cater for new event-specific raw event types. Signed-off-by: Peter Hutterer --- include/X11/extensions/XInput2.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/X11') 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; -- cgit v1.2.3