summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-10 12:26:18 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-12 11:44:20 +1000
commitfc7f67959ad72c76e852827963d6a42b7d533b89 (patch)
tree81d912c1c8aedd61a0798b4d58647eb5b62bc51d /XI2proto.h
parentd2ba9af0517f54fb58358e41859f5e4ead9b64f2 (diff)
XI2: remove button state from the RawEvent.
A RawEvent is supposed to represent the state posted by the device. If a client needs button state, then the client must keep track of it.
Diffstat (limited to 'XI2proto.h')
-rw-r--r--XI2proto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/XI2proto.h b/XI2proto.h
index e54b145..21a8240 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -573,10 +573,9 @@ typedef struct
uint16_t eventtype; /* XI_Motion, XI_ButtonPress,
XI_ButtonRelease, XI_KeyPress,
XI_KeyRelease */
- uint16_t buttons_len;
uint16_t valuators_len;
- uint16_t pad0;
uint32_t pad1;
+ uint32_t pad2;
} xXIRawDeviceEvent;
/***********************************************************