cocoa: Don't mark fullscreen-desktop windows as non-resizable.

Otherwise, we can't tile SDL apps in Spaces.

Fixes #4883.
This commit is contained in:
Ryan C. Gordon 2022-08-08 20:33:44 -04:00
parent d58bec72a0
commit 56c1481cab
1 changed files with 0 additions and 5 deletions

View File

@ -944,11 +944,6 @@ Cocoa_UpdateClipCursor(SDL_Window * window)
pendingWindowOperation = PENDING_OPERATION_NONE;
[self setFullscreenSpace:NO];
} else {
/* Unset the resizable flag.
This is a workaround for https://bugzilla.libsdl.org/show_bug.cgi?id=3697
*/
SetWindowStyle(window, [nswindow styleMask] & (~NSWindowStyleMaskResizable));
if ((window->flags & SDL_WINDOW_FULLSCREEN_DESKTOP) == SDL_WINDOW_FULLSCREEN_DESKTOP) {
[NSMenu setMenuBarVisible:NO];
}