Refactor extern definition of conn and root_screen

This commit is contained in:
Alex Auvolat
2015-12-29 12:47:12 +01:00
parent bc126aaeaf
commit 19fd6817af
8 changed files with 7 additions and 15 deletions

View File

@ -24,8 +24,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);