diff options
author | marha <marha@users.sourceforge.net> | 2009-07-25 09:42:39 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-07-25 09:42:39 +0000 |
commit | 87db695311f33c4ff560b2cafdbd1d2e421f29bb (patch) | |
tree | 0444c3b5f1e2d033667c4b550129ba92d3b72406 /libxcb/src/xcb.h | |
parent | 27ac49b145c8504b59dfc71a0cdf96ec63bd93b9 (diff) | |
download | vcxsrv-87db695311f33c4ff560b2cafdbd1d2e421f29bb.tar.gz vcxsrv-87db695311f33c4ff560b2cafdbd1d2e421f29bb.tar.bz2 vcxsrv-87db695311f33c4ff560b2cafdbd1d2e421f29bb.zip |
Added libxcb-1.4.tar.gz
Diffstat (limited to 'libxcb/src/xcb.h')
-rw-r--r-- | libxcb/src/xcb.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/libxcb/src/xcb.h b/libxcb/src/xcb.h index 5a1c01ab1..f95127665 100644 --- a/libxcb/src/xcb.h +++ b/libxcb/src/xcb.h @@ -116,6 +116,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. @@ -124,7 +141,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; |