Browse Source

SDL_cocoawindow.m: fix what seems to be a typo in commit 649c36c5:

NSWindowCollectionBehaviorNone -> NSWindowCollectionBehaviorFullScreenNone

(cherry picked from commit b1d95b9d2023303b1d3cafdeb905a240953e5531)
Ozkan Sezer 1 month ago
parent
commit
ec113c1f82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/cocoa/SDL_cocoawindow.m

+ 1 - 1
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. */
         /* resizable windows are Spaces-friendly: they get the "go fullscreen" toggle button on their titlebar. */
         [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
         [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
     } else {
     } else {
-        [nswindow setCollectionBehavior:NSWindowCollectionBehaviorNone];
+        [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenNone];
     }
     }
 }}
 }}