]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/include/xcb.h
Remove compatibility definitions for xcb-util < 0.3.8 (#2473)
[i3/i3] / i3bar / include / xcb.h
index 0a9bd7e41d67e175d984481d326ff3e971fb0042..e5af39fa3a14ab3466cad64a6aa12cdd83b8e980 100644 (file)
 #include <stdint.h>
 //#include "outputs.h"
 
-#ifdef XCB_COMPAT
-#define XCB_ATOM_CARDINAL CARDINAL
-#endif
-
 #define _NET_SYSTEM_TRAY_ORIENTATION_HORZ 0
 #define _NET_SYSTEM_TRAY_ORIENTATION_VERT 1
 #define SYSTEM_TRAY_REQUEST_DOCK 0
@@ -24,8 +20,6 @@
 #define XEMBED_MAPPED (1 << 0)
 #define XEMBED_EMBEDDED_NOTIFY 0
 
-xcb_connection_t *xcb_connection;
-
 /* We define xcb_request_failed as a macro to include the relevant line number */
 #define xcb_request_failed(cookie, err_msg) _xcb_request_failed(cookie, err_msg, __LINE__)
 int _xcb_request_failed(xcb_void_cookie_t cookie, char *err_msg, int line);