X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=i3-config-wizard%2Fxcb.h;h=f3e204e8ecf2c60891e56f64d04096a827cef6fa;hb=9515cb0713b721948d15adf47b5f2ef92ce513c5;hp=748fb1db57a81299418afca4352f7ada3332a236;hpb=cb9bbcfccff7b27e4a2cbe5e9b2bdbd6e5260bb2;p=i3%2Fi3 diff --git a/i3-config-wizard/xcb.h b/i3-config-wizard/xcb.h index 748fb1db..f3e204e8 100644 --- a/i3-config-wizard/xcb.h +++ b/i3-config-wizard/xcb.h @@ -1,23 +1,8 @@ -#ifndef _XCB_H -#define _XCB_H +#pragma once /* from X11/keysymdef.h */ -#define XCB_NUM_LOCK 0xff7f +#define XCB_NUM_LOCK 0xff7f -#define xmacro(atom) xcb_atom_t A_ ## atom; +#define xmacro(atom) xcb_atom_t A_##atom; #include "atoms.xmacro" #undef xmacro - -extern unsigned int xcb_numlock_mask; - -void xcb_change_gc_single(xcb_connection_t *conn, xcb_gcontext_t gc, uint32_t mask, uint32_t value); -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); -/** - * Finds out which modifier mask is the one for numlock, as the user may change this. - * - */ -void xcb_get_numlock_mask(xcb_connection_t *conn); - -#endif