summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-01-13 10:48:52 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-01-13 10:48:52 +0100
commit994b5824dccbc86c981bf0834d00579ef67c5539 (patch)
tree99fb1dd5ce5dd3edd07835c703d465dc7f770451 /src/drivers
parent421e917f0364ca0d6443c3f7d5e788559c93e91c (diff)
Wayland: fix processing of keypad keys - cont'd (#881)
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index c30301a8a..6237cd710 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
@@ -739,6 +739,7 @@ static void wl_keyboard_key(void *data, struct wl_keyboard *wl_keyboard,
0xffb0 /* 0 */, 0xffac /* .|, */};
Fl::e_keysym = table[sym - XKB_KEY_KP_Home];
Fl::e_original_keysym = table_original[sym - XKB_KEY_KP_Home];
+ for_key_vector = Fl::e_original_keysym;
}
#if (DEBUG_KEYBOARD)
fprintf(stderr, "wl_keyboard_key: e_keysym=%x e_original_keysym=%x\n", Fl::e_keysym, Fl::e_original_keysym);