Author: manolo
Date: 2011-04-12 13:15:10 -0700 (Tue, 12 Apr 2011)
New Revision: 8583
Log:
Restores change made in r.8557 that blocked system menu shortcuts.
Modified:
branches/branch-1.3/src/Fl_cocoa.mm
Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2011-04-12 16:18:42 UTC (rev 8582)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2011-04-12 20:15:10 UTC (rev 8583)
@@ -1665,8 +1665,8 @@
}
- (BOOL)performKeyEquivalent:(NSEvent*)theEvent
{
- cocoaKeyboardHandler(theEvent);
- return YES;
+ int retval = cocoaKeyboardHandler(theEvent);
+ return (retval ? YES : NO);
}
- (BOOL)acceptsFirstMouse:(NSEvent*)theEvent
{
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit