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
This commit is contained in:
Manolo Gouy 2011-04-12 20:15:10 +00:00
parent 1d988db2db
commit 404a7c1bad

View File

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