]> git.sur5r.net Git - i3/i3/blobdiff - i3-config-wizard/xcb.h
man: change URL (Thanks aksr)
[i3/i3] / i3-config-wizard / xcb.h
index 71280e1cf1ef5bf11d796b1f9d05c9bb2db9a3d3..4ed182c4af900ae450ef28e588a2423264395e74 100644 (file)
@@ -1,6 +1,11 @@
+#ifndef _XCB_H
+#define _XCB_H
 
-void xcb_change_gc_single(xcb_connection_t *conn, xcb_gcontext_t gc, uint32_t mask, uint32_t value);
-uint32_t get_colorpixel(xcb_connection_t *conn, char *hex);
-uint32_t get_mod_mask(xcb_connection_t *conn, uint32_t keycode);
-xcb_window_t open_input_window(xcb_connection_t *conn, uint32_t width, uint32_t height);
-int get_font_id(xcb_connection_t *conn, char *pattern, int *font_height);
+/* from X11/keysymdef.h */
+#define XCB_NUM_LOCK                    0xff7f
+
+#define xmacro(atom) xcb_atom_t A_ ## atom;
+#include "atoms.xmacro"
+#undef xmacro
+
+#endif