mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-26 12:59:18 +01:00
Fixed Mac OS X window level when leaving fullscreen mode
This commit is contained in:
parent
2216ab93dc
commit
26e8e387e1
@ -587,6 +587,8 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
|
|||||||
|
|
||||||
inFullscreenTransition = NO;
|
inFullscreenTransition = NO;
|
||||||
|
|
||||||
|
[nswindow setLevel:kCGNormalWindowLevel];
|
||||||
|
|
||||||
if (pendingWindowOperation == PENDING_OPERATION_ENTER_FULLSCREEN) {
|
if (pendingWindowOperation == PENDING_OPERATION_ENTER_FULLSCREEN) {
|
||||||
pendingWindowOperation = PENDING_OPERATION_NONE;
|
pendingWindowOperation = PENDING_OPERATION_NONE;
|
||||||
[self setFullscreenSpace:YES];
|
[self setFullscreenSpace:YES];
|
||||||
|
Loading…
Reference in New Issue
Block a user