From ec113c1f82c53c0d5d261c5f09e33ffc12b80781 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 6 Feb 2026 06:04:40 +0300 Subject: [PATCH] SDL_cocoawindow.m: fix what seems to be a typo in commit 649c36c5: NSWindowCollectionBehaviorNone -> NSWindowCollectionBehaviorFullScreenNone (cherry picked from commit b1d95b9d2023303b1d3cafdeb905a240953e5531) --- src/video/cocoa/SDL_cocoawindow.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m index 412a6a3202..6447f8fd6f 100644 --- a/src/video/cocoa/SDL_cocoawindow.m +++ b/src/video/cocoa/SDL_cocoawindow.m @@ -2128,7 +2128,7 @@ void Cocoa_SetWindowResizable(_THIS, SDL_Window * window, SDL_bool resizable) /* resizable windows are Spaces-friendly: they get the "go fullscreen" toggle button on their titlebar. */ [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; } else { - [nswindow setCollectionBehavior:NSWindowCollectionBehaviorNone]; + [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenNone]; } }}