91134f75c0
Also, the API changed a bit. There are two functions now, both assume you already got the keysyms (which is the case for i3 and i3-config-wizard), one gets the modifier mapping for you (aio_get_mod_mask_for) while the other assumes you also got that. No roundtrips are required for the latter.
17 lines
399 B
C
17 lines
399 B
C
#ifndef _XCB_H
|
|
#define _XCB_H
|
|
|
|
/* from X11/keysymdef.h */
|
|
#define XCB_NUM_LOCK 0xff7f
|
|
|
|
#define xmacro(atom) xcb_atom_t A_ ## atom;
|
|
#include "atoms.xmacro"
|
|
#undef xmacro
|
|
|
|
extern unsigned int xcb_numlock_mask;
|
|
|
|
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);
|
|
|
|
#endif
|