Use cairo for all drawing operations in i3bar.

fixes #1878
This commit is contained in:
Ingo Bürk
2015-09-05 23:38:15 +02:00
parent 2248085c5c
commit 410c5da7cf
8 changed files with 288 additions and 243 deletions

View File

@ -24,6 +24,12 @@
#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);
struct xcb_color_strings_t {
char *bar_fg;
char *bar_bg;