Merged branch default into iOS-improvements
commit
2096583140
|
@ -1271,6 +1271,7 @@ Cocoa_RaiseWindow(_THIS, SDL_Window * window)
|
||||||
*/
|
*/
|
||||||
[windowData->listener pauseVisibleObservation];
|
[windowData->listener pauseVisibleObservation];
|
||||||
if (![nswindow isMiniaturized] && [nswindow isVisible]) {
|
if (![nswindow isMiniaturized] && [nswindow isVisible]) {
|
||||||
|
[NSApp activateIgnoringOtherApps:YES];
|
||||||
[nswindow makeKeyAndOrderFront:nil];
|
[nswindow makeKeyAndOrderFront:nil];
|
||||||
}
|
}
|
||||||
[windowData->listener resumeVisibleObservation];
|
[windowData->listener resumeVisibleObservation];
|
||||||
|
|
Loading…
Reference in New Issue