/*
* vim:ts=4:sw=4:expandtab
*
- * © 2010-2011 Michael Stapelberg
+ * © 2010-2012 Michael Stapelberg
*
* xcb.c: contains all functions which use XCB to talk to X11. Mostly wrappers
* around the rather complicated/ugly parts of the XCB API.
#include "cursors.h"
+xcb_connection_t *conn;
+xcb_screen_t *screen;
+
#define curs_invisible_width 8
#define curs_invisible_height 8
XCB_EVENT_MASK_STRUCTURE_NOTIFY;
xcb_create_window(conn,
- 24,
+ XCB_COPY_FROM_PARENT,
win, /* the window id */
scr->root, /* parent == root */
0, 0,
}
}
+ free(modeswitchcodes);
+ free(modmap_r);
return 0;
}