Mac: Don't lose the menu/dock when switching back to a resizable window Space.
This commit is contained in:
1 parent
86be83215a
commit
0e5cc8dff4
1 file changed
+1
-1
@@ -509,7 +509,7 @@ SetWindowStyle(SDL_Window * window, unsigned int style)
|
|||||||
/* Check to see if someone updated the clipboard */
|
/* Check to see if someone updated the clipboard */
|
||||||
Cocoa_CheckClipboardUpdate(_data->videodata);
|
Cocoa_CheckClipboardUpdate(_data->videodata);
|
||||||
|
|
||||||
if (isFullscreenSpace) {
|
if ((isFullscreenSpace) && ((window->flags & SDL_WINDOW_FULLSCREEN_DESKTOP) == SDL_WINDOW_FULLSCREEN_DESKTOP)) {
|
||||||
[NSMenu setMenuBarVisible:NO];
|
[NSMenu setMenuBarVisible:NO];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user