mirror of
https://github.com/fltk/fltk.git
synced 2026-05-22 07:01:34 +08:00
Fix JIS Keyboard dead keys
This commit is contained in:
committed by
Albrecht Schlosser
parent
9fb6d048a0
commit
b1e4ec4011
@@ -80,6 +80,7 @@ int Fl::compose(int& del) {
|
||||
int condition;
|
||||
#if defined(__APPLE__)
|
||||
int has_text_key = Fl::compose_state || Fl::e_keysym <= '~' || Fl::e_keysym == FL_Iso_Key ||
|
||||
Fl::e_keysym == FL_JIS_Underscore || Fl::e_keysym == FL_Yen ||
|
||||
(Fl::e_keysym >= FL_KP && Fl::e_keysym <= FL_KP_Last && Fl::e_keysym != FL_KP_Enter);
|
||||
condition = Fl::e_state&(FL_META | FL_CTRL) ||
|
||||
(Fl::e_keysym >= FL_Shift_L && Fl::e_keysym <= FL_Alt_R) || // called from flagsChanged
|
||||
|
||||
Reference in New Issue
Block a user