projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b760f57
)
Merge branch 'fix-wayland-keycode-mapping' into 'main'
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Oct 2022 19:15:38 +0000
(19:15 +0000)
committer
Emmanuele Bassi
<ebassi@gmail.com>
Mon, 24 Oct 2022 17:05:06 +0000
(17:05 +0000)
wayland: Fix keycode->keyval mapping
Closes #5277
See merge request GNOME/gtk!5147
(cherry picked from commit
c00a23ebbc3695e36cb9e658760b02d2aa6fa7cf
)
1894a896
wayland: Fix keycode->keyval mapping
gdk/wayland/gdkkeys-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkkeys-wayland.c
b/gdk/wayland/gdkkeys-wayland.c
index b546fa001293a269a7b494e12afdac824aa218b5..ed43ac466c3ecec397cc255dedfcfdddf93a811c 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;