From 6719ae1ed024270f7fe1cb6bbee1f84cdaeba90c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 7 Aug 2009 10:39:46 +1000 Subject: [PATCH] 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 --- XI2proto.h | 4 +--- 1 file changed, 1 insertion(+), 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 */