mirror of
https://github.com/yawut/SDL.git
synced 2026-09-14 12:06:26 -05:00
Merged branch default into iOS-improvements
--HG-- branch : iOS-improvements
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user