Merged branch default into iOS-improvements

This commit is contained in:
Alex Szpakowski 2014-08-04 15:30:53 -03:00
commit 2096583140
1 changed files with 1 additions and 0 deletions

View File

@ -1271,6 +1271,7 @@ Cocoa_RaiseWindow(_THIS, SDL_Window * window)
*/
[windowData->listener pauseVisibleObservation];
if (![nswindow isMiniaturized] && [nswindow isVisible]) {
[NSApp activateIgnoringOtherApps:YES];
[nswindow makeKeyAndOrderFront:nil];
}
[windowData->listener resumeVisibleObservation];