diff options
author | Christian Linhart <chris@demorecorder.com> | 2017-01-25 10:21:05 +0100 |
---|---|---|
committer | Christian Linhart <chris@demorecorder.com> | 2017-03-11 10:51:50 +0100 |
commit | ee9dfc9a7658e7fe75d27483bb5ed1ba4d1e2c86 (patch) | |
tree | d5d8d0efdfdc33576f7df694d8798bf31e3ec2b6 /src/xcb.h | |
parent | 0c2c5d50f8670da3e7601feb6a29b53509513da5 (diff) |
add support for eventstruct
eventstruct allows to use events as part of requests.
This is, e.g., needed by xcb_input_send_extension_event.
Signed-off-by: Christian Linhart <chris@demorecorder.com>
Diffstat (limited to 'src/xcb.h')
-rw-r--r-- | src/xcb.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -143,6 +143,18 @@ typedef struct { } xcb_generic_event_t; /** + * @brief Raw Generic event. + * + * A generic event structure as used on the wire, i.e., without the full_sequence field + */ +typedef struct { + uint8_t response_type; /**< Type of the response */ + uint8_t pad0; /**< Padding */ + uint16_t sequence; /**< Sequence number */ + uint32_t pad[7]; /**< Padding */ +} xcb_raw_generic_event_t; + +/** * @brief GE event * * An event as sent by the XGE extension. The length field specifies the |