aboutsummaryrefslogtreecommitdiff
path: root/include/xcb
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-11-08 11:47:30 +0100
committermarha <marha@users.sourceforge.net>2013-11-08 11:47:30 +0100
commitc8483dc2831dc37d93a36804022f6b064f5962ea (patch)
tree599f145a848e10b75a1a8c314ed9c51031446506 /include/xcb
parentc97d11aec40d8fa07d6b456bf8694133a77d35f4 (diff)
downloadvcxsrv-c8483dc2831dc37d93a36804022f6b064f5962ea.tar.gz
vcxsrv-c8483dc2831dc37d93a36804022f6b064f5962ea.tar.bz2
vcxsrv-c8483dc2831dc37d93a36804022f6b064f5962ea.zip
Solved compilation and link problems after last merge
Diffstat (limited to 'include/xcb')
-rw-r--r--include/xcb/xcb.h17
-rw-r--r--include/xcb/xproto.h16
2 files changed, 16 insertions, 17 deletions
diff --git a/include/xcb/xcb.h b/include/xcb/xcb.h
index dda28bcdc..f4ba1de13 100644
--- a/include/xcb/xcb.h
+++ b/include/xcb/xcb.h
@@ -139,23 +139,6 @@ 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.
diff --git a/include/xcb/xproto.h b/include/xcb/xproto.h
index ff5745b53..20d20c476 100644
--- a/include/xcb/xproto.h
+++ b/include/xcb/xproto.h
@@ -1200,6 +1200,22 @@ typedef struct xcb_mapping_notify_event_t {
uint8_t pad1; /**< */
} xcb_mapping_notify_event_t;
+/** Opcode for xcb_ge. */
+#define XCB_GE 35
+
+/**
+ * @brief xcb_ge_event_t
+ **/
+typedef struct xcb_ge_event_t {
+ uint8_t response_type; /**< */
+ uint8_t extension; /**< */
+ uint16_t sequence; /**< */
+ uint32_t length; /**< */
+ uint16_t event_type; /**< */
+ uint8_t pad0[22]; /**< */
+ uint32_t full_sequence; /**< */
+} xcb_ge_event_t;
+
/** Opcode for xcb_request. */
#define XCB_REQUEST 1