diff options
| author | Manolo Gouy <Manolo> | 2011-04-12 20:15:10 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-04-12 20:15:10 +0000 |
| commit | 404a7c1bad7b8ad379a13e9ad1c177b6780ffa3b (patch) | |
| tree | 62dfd3741992dc5bb14e11941a6a4913c1e4a181 /src | |
| parent | 1d988db2db5a2ff3dd53e98205ac3dc1561e73b7 (diff) | |
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
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 { |
