mirror of https://github.com/fltk/fltk
Fixed key compose sequences for shifted keys (STR #1194)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5211 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
855e42c20f
commit
ad8d7c4b87
2
CHANGES
2
CHANGES
|
@ -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
|
||||
|
|
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue