summaryrefslogtreecommitdiff
path: root/include/X11/extensions/XInput2.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2009-07-13 16:53:57 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-13 16:53:57 +1000
commit504a5a770bd1d34ea7edc3b94815b2b98a61afc0 (patch)
treef482b04dc49945cd8e63a817d99029a782649c79 /include/X11/extensions/XInput2.h
parent94bfb0cc3ebbefe548b440f8c5e14154c3a76440 (diff)
Add flags to XIDeviceEvent and XIRawEvent.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/X11/extensions/XInput2.h')
-rw-r--r--include/X11/extensions/XInput2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index c6bfca0..1b46443 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -226,6 +226,7 @@ typedef struct {
double root_y;
double event_x;
double event_y;
+ int flags;
XIButtonState buttons;
XIValuatorState valuators;
XIModifierState mods;
@@ -243,6 +244,7 @@ typedef struct {
int deviceid;
int sourceid;
int detail;
+ int flags;
XIValuatorState valuators;
double *raw_values;
} XIRawEvent;