From 0ae7710db53515dab4a35c33ba9a030bbfc2ac5b Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 13 Feb 2012 14:27:58 +0100 Subject: Updated to inputproto-2.1.99.6 --- X11/extensions/XI2proto.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'X11') diff --git a/X11/extensions/XI2proto.h b/X11/extensions/XI2proto.h index 93d7e3242..733f923b7 100644 --- a/X11/extensions/XI2proto.h +++ b/X11/extensions/XI2proto.h @@ -639,6 +639,21 @@ typedef struct { /** * Allow or replay events on the specified grabbed device. */ +typedef struct { + uint8_t reqType; + uint8_t ReqType; /**< Always ::X_XIAllowEvents */ + uint16_t length; /**< Length in 4 byte units */ + Time time; + uint16_t deviceid; + uint8_t mode; + uint8_t pad; +} xXIAllowEventsReq; +#define sz_xXIAllowEventsReq 12 + +/** + * Allow or replay events on the specified grabbed device. + * Since XI 2.2 + */ typedef struct { uint8_t reqType; uint8_t ReqType; /**< Always ::X_XIAllowEvents */ @@ -649,8 +664,8 @@ typedef struct { uint8_t pad; uint32_t touchid; /**< Since XI 2.2 */ Window grab_window; /**< Since XI 2.2 */ -} xXIAllowEventsReq; -#define sz_xXIAllowEventsReq 20 /**< Was 12 before XI 2.2 */ +} xXI2_2AllowEventsReq; +#define sz_xXI2_2AllowEventsReq 20 /** -- cgit v1.2.3