projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e06955e
)
Add majorCode, minorCode and resourceID fields to X generic error
author
Arnaud Fontaine
<arnau@debian.org>
Wed, 15 Jul 2009 15:03:56 +0000
(16:03 +0100)
committer
Arnaud Fontaine
<arnau@debian.org>
Wed, 15 Jul 2009 15:03:56 +0000
(16:03 +0100)
src/xcb.h
patch
|
blob
|
history
diff --git
a/src/xcb.h
b/src/xcb.h
index
d24ef95
..
f951276
100644
(file)
--- a/
src/xcb.h
+++ b/
src/xcb.h
@@
-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 */
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;
uint32_t full_sequence; /**< full sequence */
} xcb_generic_error_t;