diff options
Diffstat (limited to 'libvo/cocoa_common.m')
-rw-r--r-- | libvo/cocoa_common.m | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/cocoa_common.m b/libvo/cocoa_common.m index 9a822cc4ea..6e2b439a77 100644 --- a/libvo/cocoa_common.m +++ b/libvo/cocoa_common.m @@ -376,13 +376,11 @@ int vo_cocoa_check_events(struct vo *vo) // Without SDL's bootstrap code (include SDL.h in mplayer.c), // on Leopard, we have trouble to get the play window automatically focused // when the app is actived. The Following code fix this problem. -#ifndef CONFIG_SDL if ([event type] == NSAppKitDefined && [event subtype] == NSApplicationActivatedEventType) { [s->window makeMainWindow]; [s->window makeKeyAndOrderFront:nil]; } -#endif return 0; } |