diff --git a/src/video/cocoa/SDL_cocoaevents.m b/src/video/cocoa/SDL_cocoaevents.m index 11c6b4e08..3d35539cd 100755 --- a/src/video/cocoa/SDL_cocoaevents.m +++ b/src/video/cocoa/SDL_cocoaevents.m @@ -206,23 +206,17 @@ Cocoa_PumpEvents(_THIS) case NSMouseMoved: case NSScrollWheel: Cocoa_HandleMouseEvent(_this, event); - /* Pass through to NSApp to make sure everything stays in sync */ - [NSApp sendEvent:event]; break; case NSKeyDown: case NSKeyUp: case NSFlagsChanged: Cocoa_HandleKeyEvent(_this, event); - /* Fall through to pass event to NSApp; er, nevermind... */ - - /* Add to support system-wide keyboard shortcuts like CMD+Space */ - if (([event modifierFlags] & NSCommandKeyMask) || [event type] == NSFlagsChanged) - [NSApp sendEvent: event]; break; default: - [NSApp sendEvent:event]; break; } + /* Pass through to NSApp to make sure everything stays in sync */ + [NSApp sendEvent:event]; } [pool release]; }