mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 20:05:28 +00:00
SDL - when raising the window under OSX also force the app to activate. This fixes a fullscreen window on a separate space not coming front when raisewindow is called.
This commit is contained in:
parent
7552947654
commit
87b8c8d108
|
@ -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 a new issue