summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-08-07 10:39:46 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-07 10:43:25 +1000
commit6719ae1ed024270f7fe1cb6bbee1f84cdaeba90c (patch)
treec382517c8c4cb3fbb49e6e5a9be41205f5deb57c
parent1a7eb6de82bd61fc16f2a3f000d4d3b9d418dcd0 (diff)
Remove eventtype field from xXIRawEvent.
With c455db2, raw events were split up into using multiple evtypes instead of a sub event type. The eventtype field itself however has not been removed and was unused by both the server and the library. Field converted into a padding field, wire layout stays the same. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--XI2proto.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 8fb506d..101bbf1 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -901,9 +901,7 @@ typedef struct
uint16_t deviceid;
Time time;
uint32_t detail;
- uint16_t eventtype; /**< ::XI_Motion, ::XI_ButtonPress,
- ::XI_ButtonRelease, ::XI_KeyPress,
- ::XI_KeyRelease */
+ uint16_t pad0;
uint16_t valuators_len; /**< Length of trailing valuator
mask in 4 byte units */
uint32_t flags; /**< ::XIKeyRepeat */