diff options
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | src/Fl_compose.cxx | 11 |
2 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,7 @@ CHANGES IN FLTK 1.1.8 + - Fixed key compose sequences for + shifted keys (STR #1194) - Added text selection and copy to Fl_Help_View. - Fixed position of popup menu titles (STR #1322) - Showing any window will disable the current tooltip diff --git a/src/Fl_compose.cxx b/src/Fl_compose.cxx index 40ad74ec1..684f2fd9b 100644 --- a/src/Fl_compose.cxx +++ b/src/Fl_compose.cxx @@ -105,6 +105,17 @@ int Fl::compose(int& del) { #endif // __APPLE__ if (compose_state == 1) { // after the compose key + if ( // do not get distracted by any modifier keys + e_keysym==FL_Shift_L|| + e_keysym==FL_Shift_R || + e_keysym==FL_Alt_L || + e_keysym==FL_Alt_R || + e_keysym==FL_Meta_L || + e_keysym==FL_Meta_R || + e_keysym==FL_Control_R || + e_keysym==FL_Control_L || + e_keysym==FL_Menu + ) return 0; if (ascii == ' ') { // space turns into nbsp #ifdef __APPLE__ |
