Use groups to reference keysyms in the keymap

This commit is contained in:
David Boddie
2019-07-14 23:21:43 +00:00
parent 839968dc84
commit bdbbaf6099
4 changed files with 51 additions and 20 deletions

View File

@ -156,6 +156,7 @@ eekboard_context_service_real_create_keyboard (EekboardContextService *self,
g_error("Bad keymap");
}
keyboard->keymap = keymap;
char *keymap_str = xkb_keymap_get_as_string(keymap, XKB_KEYMAP_FORMAT_TEXT_V1);
keyboard->keymap_len = strlen(keymap_str) + 1;