diff options
Diffstat (limited to 'include/xcb/xcb.h')
-rw-r--r-- | include/xcb/xcb.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/xcb/xcb.h b/include/xcb/xcb.h index 8cdba0550..6571ee693 100644 --- a/include/xcb/xcb.h +++ b/include/xcb/xcb.h @@ -142,6 +142,26 @@ typedef struct { } xcb_generic_event_t; /** + * @brief GE event + * + * An event as sent by the XGE extension. The length field specifies the + * number of 4-byte blocks trailing the struct. + * + * @deprecated Since some fields in this struct have unfortunate names, it is + * recommended to use xcb_ge_generic_event_t instead. + */ +typedef struct { + uint8_t response_type; /**< Type of the response */ + uint8_t pad0; /**< Padding */ + uint16_t sequence; /**< Sequence number */ + uint32_t length; + uint16_t event_type; + uint16_t pad1; + uint32_t pad[5]; /**< Padding */ + uint32_t full_sequence; /**< full sequence */ +} xcb_ge_event_t; + +/** * @brief Generic error. * * A generic error structure. |