diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index ce6580a89..510c20a53 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1526,13 +1526,13 @@ extern "C" { // still needed for the system menu. - (void)sendEvent:(NSEvent *)theEvent { - NSEventType type = [theEvent type]; - NSWindow *key = [self keyWindow]; - if (key && type == NSKeyUp) { - [key sendEvent:theEvent]; - } else { - [super sendEvent:theEvent]; - } + NSEventType type = [theEvent type]; + NSWindow *key = [self keyWindow]; + if (key && type == NSKeyUp) { + [key sendEvent:theEvent]; + } else { + [super sendEvent:theEvent]; + } } @end |
