|
@@ -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];
|
|
|
}
|
|
}
|
|
|
}}
|
|
}}
|
|
|
|
|
|