projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95f8ff8
)
x11: fix type level names missing
author
Ran Benita
<ran@unusedvar.com>
Mon, 23 Nov 2020 16:49:49 +0000
(18:49 +0200)
committer
Ran Benita
<ran@unusedvar.com>
Mon, 23 Nov 2020 16:49:49 +0000
(18:49 +0200)
When reading the keymap, the level names would get discarded.
Regressed in
26453b84732da870f5695ee347970b337cfea9c1
.
Signed-off-by: Ran Benita <ran@unusedvar.com>
src/x11/keymap.c
patch
|
blob
|
history
diff --git
a/src/x11/keymap.c
b/src/x11/keymap.c
index
087ee48
..
f5b368f
100644
(file)
--- a/
src/x11/keymap.c
+++ b/
src/x11/keymap.c
@@
-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++;