keybindings: Rewrite the keymap code so that it uses libxkbcommon

This way we aren't depending on Xwayland for native key mapping support,
and are instead using the native interfaces.
This commit is contained in:
Jasper St. Pierre
2014-08-14 18:14:55 -04:00
parent 3645c63c08
commit 1af0033368
2 changed files with 57 additions and 55 deletions

View File

@ -90,14 +90,8 @@ typedef struct
typedef struct
{
Display *xdisplay;
GHashTable *key_bindings;
GHashTable *key_bindings_index;
int min_keycode;
int max_keycode;
KeySym *keymap;
int keysyms_per_keycode;
xkb_mod_mask_t ignored_modifier_mask;
xkb_mod_mask_t hyper_mask;
xkb_mod_mask_t super_mask;