x11: fix type level names missing

When reading the keymap, the level names would get discarded.
Regressed in 26453b8473.

Signed-off-by: Ran Benita <ran@unusedvar.com>
master
Ran Benita 2020-11-23 18:49:49 +02:00
parent 95f8ff8355
commit ac6cd20c55
1 changed files with 1 additions and 0 deletions

View File

@ -888,6 +888,7 @@ get_type_names(struct xkb_keymap *keymap, xcb_connection_t *conn,
wire_num_levels))
goto fail;
type->num_level_names = type->num_levels;
kt_level_names_iter += wire_num_levels;
key_type_names_iter++;
n_levels_per_type_iter++;