Use libxkbcommon for mapping keycodes to keysyms

This commit is contained in:
Kristian Høgsberg 2010-06-25 16:50:05 -04:00
parent c8c3734ef9
commit 94adf6cb9e
4 changed files with 85 additions and 120 deletions

View file

@ -54,8 +54,10 @@ display_run(struct display *d);
enum {
WINDOW_MODIFIER_SHIFT = 0x01,
WINDOW_MODIFIER_ALT = 0x02,
WINDOW_MODIFIER_LOCK = 0x02,
WINDOW_MODIFIER_CONTROL = 0x04,
WINDOW_MODIFIER_ALT = 0x08,
WINDOW_MODIFIER_MOD2 = 0x10,
};
typedef void (*window_resize_handler_t)(struct window *window, void *data);