mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-28 08:48:43 +00:00
SDL_cocoawindow.m: fix what seems to be a typo in commit 649c36c5:
NSWindowCollectionBehaviorNone -> NSWindowCollectionBehaviorFullScreenNone
(cherry picked from commit b1d95b9d20)
This commit is contained in:
parent
8306d559b9
commit
ec113c1f82
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue