summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-08-25 12:06:59 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-08-25 12:06:59 +0200
commitfc57a518362741207c155bb23c4b46e1b4ed3e02 (patch)
tree6b67db3986d61a3d1b858e9000b2f824c5a23dce /src
parent9e35b0216f384f815284d6e8ee4ee9fcce3af01a (diff)
Fix Fl_Wayland_Screen_Driver::compose() to handle the FL_Alt_Gr key
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index 0125bfc07..7a376efb4 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
@@ -680,8 +680,8 @@ int Fl_Wayland_Screen_Driver::compose(int& del) {
// pressing modifier key
// FL_Shift_L, FL_Shift_R, FL_Control_L, FL_Control_R, FL_Caps_Lock
// FL_Meta_L, FL_Meta_R, FL_Alt_L, FL_Alt_R
- // TODO: FL_Alt_Gr
- condition |= (Fl::e_keysym >= FL_Shift_L && Fl::e_keysym <= FL_Alt_R);
+ condition |= ((Fl::e_keysym >= FL_Shift_L && Fl::e_keysym <= FL_Alt_R) ||
+ Fl::e_keysym == FL_Alt_Gr);
// 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);