diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 76aa0a143..e23518574 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1665,8 +1665,8 @@ static void q_set_window_title(NSWindow *nsw, const char * name ) { } - (BOOL)performKeyEquivalent:(NSEvent*)theEvent { - cocoaKeyboardHandler(theEvent); - return YES; + int retval = cocoaKeyboardHandler(theEvent); + return (retval ? YES : NO); } - (BOOL)acceptsFirstMouse:(NSEvent*)theEvent { |
