summaryrefslogtreecommitdiff
path: root/dist/xcb-util/event/xcb_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'dist/xcb-util/event/xcb_event.h')
-rw-r--r--dist/xcb-util/event/xcb_event.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/dist/xcb-util/event/xcb_event.h b/dist/xcb-util/event/xcb_event.h
index 05b9cac18..9bd286b0e 100644
--- a/dist/xcb-util/event/xcb_event.h
+++ b/dist/xcb-util/event/xcb_event.h
@@ -55,8 +55,6 @@ extern "C" {
#define XCB_EVENT_RESPONSE_TYPE_MASK (0x7f)
#define XCB_EVENT_RESPONSE_TYPE(e) (e->response_type & XCB_EVENT_RESPONSE_TYPE_MASK)
#define XCB_EVENT_SENT(e) (e->response_type & ~XCB_EVENT_RESPONSE_TYPE_MASK)
-#define XCB_EVENT_ERROR_TYPE(e) (*((uint8_t *) e + 1))
-#define XCB_EVENT_REQUEST_TYPE(e) (*((uint8_t *) e + 10))
typedef int (*xcb_generic_event_handler_t)(void *data, xcb_connection_t *c, xcb_generic_event_t *event);
typedef int (*xcb_generic_error_handler_t)(void *data, xcb_connection_t *c, xcb_generic_error_t *error);