projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a3f1a1
)
wayland: Fix keycode->keyval mapping
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 19 Oct 2022 19:35:12 +0000
(15:35 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 19 Oct 2022 19:46:27 +0000
(15:46 -0400)
We were looping over the levels, but not using
the current level value to obtain the keymap
entries. Oops.
Fixes: #5277
gdk/wayland/gdkkeys-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkkeys-wayland.c
b/gdk/wayland/gdkkeys-wayland.c
index 1892a36b21796f98086d9566c7d4e53a4ed27a31..22b8cb01994209e2578c2e89aa14ebd42caa62f7 100644
(file)
--- a/
gdk/wayland/gdkkeys-wayland.c
+++ b/
gdk/wayland/gdkkeys-wayland.c
@@
-203,7
+203,7
@@
gdk_wayland_keymap_get_entries_for_keycode (GdkKeymap *keymap,
{
const xkb_keysym_t *syms;
int num_syms;
- num_syms = xkb_keymap_key_get_syms_by_level (xkb_keymap, hardware_keycode, layout,
0
, &syms);
+ num_syms = xkb_keymap_key_get_syms_by_level (xkb_keymap, hardware_keycode, layout,
level
, &syms);
if (keys)
{
(*keys)[i].keycode = hardware_keycode;