From 56c1481cab2a8595b8d4a1a6a1f015fd220a6049 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 8 Aug 2022 20:33:44 -0400 Subject: [PATCH] cocoa: Don't mark fullscreen-desktop windows as non-resizable. Otherwise, we can't tile SDL apps in Spaces. Fixes #4883. --- src/video/cocoa/SDL_cocoawindow.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m index 1e47390be..6c7e33dca 100644 --- a/src/video/cocoa/SDL_cocoawindow.m +++ b/src/video/cocoa/SDL_cocoawindow.m @@ -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]; }