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:
Matthias Melcher 2006-06-19 07:43:39 +00:00
parent 855e42c20f
commit ad8d7c4b87
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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__