diff options
author | marha <marha@users.sourceforge.net> | 2012-02-13 16:48:00 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-02-13 16:48:00 +0100 |
commit | d19dd4c9cf37b7b691552c4f4dd873471e31ca68 (patch) | |
tree | 66991af3f814a4bca326d21a61919f6e6c919323 /X11 | |
parent | 179ebdfaf7fe0a0017054c052b76210eeff084a9 (diff) | |
parent | 0ae7710db53515dab4a35c33ba9a030bbfc2ac5b (diff) | |
download | vcxsrv-d19dd4c9cf37b7b691552c4f4dd873471e31ca68.tar.gz vcxsrv-d19dd4c9cf37b7b691552c4f4dd873471e31ca68.tar.bz2 vcxsrv-d19dd4c9cf37b7b691552c4f4dd873471e31ca68.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'X11')
-rw-r--r-- | X11/extensions/XI2proto.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/X11/extensions/XI2proto.h b/X11/extensions/XI2proto.h index 090c42ba0..67a14dda5 100644 --- a/X11/extensions/XI2proto.h +++ b/X11/extensions/XI2proto.h @@ -652,10 +652,25 @@ typedef struct { 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 */ + uint16_t length; /**< Length in 4 byte units */ + Time time; + uint16_t deviceid; + uint8_t mode; + 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 /** |