Bladeren bron

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

NSWindowCollectionBehaviorNone -> NSWindowCollectionBehaviorFullScreenNone
Ozkan Sezer 3 weken geleden
bovenliggende
commit
b1d95b9d20
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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. */
         [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
     } else {
-        [nswindow setCollectionBehavior:NSWindowCollectionBehaviorNone];
+        [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenNone];
     }
 }}