src/video/cocoa/SDL_cocoawindow.m
changeset 9041 89e97caa2387
parent 8986 1c81316ac642
child 9086 c5e33f9a0d03
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Wed Jul 30 17:45:52 2014 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Thu Jul 31 12:46:23 2014 -0700
     1.3 @@ -1271,6 +1271,7 @@
     1.4       */
     1.5      [windowData->listener pauseVisibleObservation];
     1.6      if (![nswindow isMiniaturized] && [nswindow isVisible]) {
     1.7 +        [NSApp activateIgnoringOtherApps:YES];
     1.8          [nswindow makeKeyAndOrderFront:nil];
     1.9      }
    1.10      [windowData->listener resumeVisibleObservation];