diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index e1d556a1c..8b46c27b2 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1694,7 +1694,8 @@ static void q_set_window_title(NSWindow *nsw, const char * name ) { break; } } - if (!no_text_key) { + if (!no_text_key && !(Fl::e_state & FL_META) ) { + // Don't send cmd-<key> to interpretKeyEvents because it beeps. // Then we can let the OS have a stab at it and see if it thinks it // should result in some text NSText *edit = [[theEvent window] fieldEditor:YES forObject:nil]; |
