From 404a7c1bad7b8ad379a13e9ad1c177b6780ffa3b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 12 Apr 2011 20:15:10 +0000 Subject: Restores change made in r.8557 that blocked system menu shortcuts. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3