Fixes STR#3207, issue with ^C not working when numlock or capslock is on.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2015-03-10 14:46:40 +00:00
parent faad46f945
commit cc2436954d

View File

@ -3003,7 +3003,8 @@ Fl_Help_View::handle(int event) // I - Event to handle
}
return 1;
case FL_SHORTCUT: {
if (Fl::event_state() == FL_COMMAND) {
int mods = Fl::event_state() & (FL_META|FL_CTRL|FL_ALT|FL_SHIFT);
if ( mods == FL_COMMAND) {
switch ( Fl::event_key() ) {
case 'a': select_all(); redraw(); return 1;
case 'c':