Mac: Don't lose the menu/dock when switching back to a resizable window Space.
This commit is contained in:
parent
7e0a86800d
commit
fab30f987c
1 changed files with 1 additions and 1 deletions
|
@ -509,7 +509,7 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
|
|||
/* Check to see if someone updated the clipboard */
|
||||
Cocoa_CheckClipboardUpdate(_data->videodata);
|
||||
|
||||
if (isFullscreenSpace) {
|
||||
if ((isFullscreenSpace) && ((window->flags & SDL_WINDOW_FULLSCREEN_DESKTOP) == SDL_WINDOW_FULLSCREEN_DESKTOP)) {
|
||||
[NSMenu setMenuBarVisible:NO];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue