diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | event/xcb_event.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 714b617..61811a6 100644 --- a/configure.ac +++ b/configure.ac @@ -51,7 +51,7 @@ AC_SUBST(xcbincludedir) pkgconfigdir='${libdir}/pkgconfig' AC_SUBST(pkgconfigdir) -PKG_CHECK_MODULES(XCB, xcb >= 1.2) +PKG_CHECK_MODULES(XCB, xcb >= 1.4) ###### # Check version of xcb-proto that xcb was compiled against diff --git a/event/xcb_event.h b/event/xcb_event.h index 05b9cac..9bd286b 100644 --- a/event/xcb_event.h +++ b/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); |