diff options
author | marha <marha@users.sourceforge.net> | 2009-07-25 12:32:25 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-25 12:32:25 +0000 |
commit | 213d71f78d6f9e35b23c00e35f9919efc9670b1e (patch) | |
tree | 0fcbee658860a7c57a6432ba54143bc3bc59d4b1 /include/xcb/xcb.h | |
parent | 307fb760da68b26eb694895df5b7081dffe80b3c (diff) | |
download | vcxsrv-213d71f78d6f9e35b23c00e35f9919efc9670b1e.tar.gz vcxsrv-213d71f78d6f9e35b23c00e35f9919efc9670b1e.tar.bz2 vcxsrv-213d71f78d6f9e35b23c00e35f9919efc9670b1e.zip |
Resynced include/xcb zith libxcb/src
Diffstat (limited to 'include/xcb/xcb.h')
-rw-r--r-- | include/xcb/xcb.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/include/xcb/xcb.h b/include/xcb/xcb.h index 323a31fb2..70a44a59d 100644 --- a/include/xcb/xcb.h +++ b/include/xcb/xcb.h @@ -126,6 +126,23 @@ 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. + */ +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. @@ -134,7 +151,11 @@ typedef struct { uint8_t response_type; /**< Type of the response */ uint8_t error_code; /**< Error code */ uint16_t sequence; /**< Sequence number */ - uint32_t pad[7]; /**< Padding */ + uint32_t resource_id; /** < Resource ID for requests with side effects only */ + uint16_t minor_code; /** < Minor opcode of the failed request */ + uint8_t major_code; /** < Major opcode of the failed request */ + uint8_t pad0; + uint32_t pad[5]; /**< Padding */ uint32_t full_sequence; /**< full sequence */ } xcb_generic_error_t; |