commit 36b9a990fe17a90e23c36c5200e7342dfdfb4c1b
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Aug 8 18:13:43 2025 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Aug 8 18:13:43 2025 +0200
Wayland: Some shortcut keys not delivered when input widget has focus (#1290)
src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index ec5faef..e9b792b 100644
--- src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
@@ -683,6 +683,7 @@ int Fl_Wayland_Screen_Driver::compose(int& del) {
// FL_Home FL_Left FL_Up FL_Right FL_Down FL_Page_Up FL_Page_Down FL_End
// FL_Print FL_Insert FL_Menu FL_Help and more
condition |= (Fl::e_keysym >= FL_Home && Fl::e_keysym <= FL_Help);
+ condition |= (Fl::e_keysym >= FL_F && Fl::e_keysym <= FL_F_Last);
condition |= Fl::e_keysym == FL_Tab;
//fprintf(stderr, "compose: condition=%d e_state=%x ascii=%d\n", condition, Fl::e_state, ascii);
if (condition) { del = 0; return 0;}
[ Direct Link to Message ]