mirror of https://github.com/fltk/fltk
Fix Fl_Wayland_Screen_Driver::compose() to handle the FL_Alt_Gr key
This commit is contained in:
parent
9e35b0216f
commit
fc57a51836
|
@ -680,8 +680,8 @@ int Fl_Wayland_Screen_Driver::compose(int& del) {
|
||||||
// pressing modifier key
|
// pressing modifier key
|
||||||
// FL_Shift_L, FL_Shift_R, FL_Control_L, FL_Control_R, FL_Caps_Lock
|
// 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
|
// 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_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
|
// 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_Home && Fl::e_keysym <= FL_Help);
|
||||||
|
|
Loading…
Reference in New Issue