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
parent
95f8ff8355
commit
ac6cd20c55
|
@ -888,6 +888,7 @@ get_type_names(struct xkb_keymap *keymap, xcb_connection_t *conn,
|
||||||
wire_num_levels))
|
wire_num_levels))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
type->num_level_names = type->num_levels;
|
||||||
kt_level_names_iter += wire_num_levels;
|
kt_level_names_iter += wire_num_levels;
|
||||||
key_type_names_iter++;
|
key_type_names_iter++;
|
||||||
n_levels_per_type_iter++;
|
n_levels_per_type_iter++;
|
||||||
|
|
Loading…
Reference in New Issue