diff options
author | Arnaud Fontaine <arnau@debian.org> | 2009-07-15 16:03:56 +0100 |
---|---|---|
committer | Arnaud Fontaine <arnau@debian.org> | 2009-07-15 16:03:56 +0100 |
commit | f4c2794bf5990a0b2f6168f2b22b60b15e08ac44 (patch) | |
tree | de098d7e1f345308b6582e00d8df361b4da5f9b2 | |
parent | e06955ed66cb499ada52b8add6709edd38d70054 (diff) |
Add majorCode, minorCode and resourceID fields to X generic error
-rw-r--r-- | src/xcb.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -141,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; |