mirror of https://github.com/encounter/SDL.git
Merged branch default into iOS-improvements
This commit is contained in:
commit
2096583140
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue