mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
Fixed Mac OS X window level when leaving fullscreen mode
This commit is contained in:
parent
4da0b83806
commit
bd5d79473a
|
|
@ -587,6 +587,8 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
|
|||
|
||||
inFullscreenTransition = NO;
|
||||
|
||||
[nswindow setLevel:kCGNormalWindowLevel];
|
||||
|
||||
if (pendingWindowOperation == PENDING_OPERATION_ENTER_FULLSCREEN) {
|
||||
pendingWindowOperation = PENDING_OPERATION_NONE;
|
||||
[self setFullscreenSpace:YES];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user