src/video/cocoa/SDL_cocoawindow.m
changeset 9041 89e97caa2387
parent 8986 1c81316ac642
child 9086 c5e33f9a0d03
equal deleted inserted replaced
9037:e9d67ac0c6f8 9041:89e97caa2387
  1269     /* makeKeyAndOrderFront: has the side-effect of deminiaturizing and showing
  1269     /* makeKeyAndOrderFront: has the side-effect of deminiaturizing and showing
  1270        a minimized or hidden window, so check for that before showing it.
  1270        a minimized or hidden window, so check for that before showing it.
  1271      */
  1271      */
  1272     [windowData->listener pauseVisibleObservation];
  1272     [windowData->listener pauseVisibleObservation];
  1273     if (![nswindow isMiniaturized] && [nswindow isVisible]) {
  1273     if (![nswindow isMiniaturized] && [nswindow isVisible]) {
       
  1274         [NSApp activateIgnoringOtherApps:YES];
  1274         [nswindow makeKeyAndOrderFront:nil];
  1275         [nswindow makeKeyAndOrderFront:nil];
  1275     }
  1276     }
  1276     [windowData->listener resumeVisibleObservation];
  1277     [windowData->listener resumeVisibleObservation];
  1277 
  1278 
  1278     [pool release];
  1279     [pool release];