MacOS replace green fullscreen button with zoom button

This commit is contained in:
Fabio Arnold 2018-02-22 17:22:13 +01:00
parent f4cd470bcb
commit 21f76d510f

View File

@ -1093,7 +1093,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
if (wndconfig->resizable) if (wndconfig->resizable)
{ {
const NSWindowCollectionBehavior behavior = const NSWindowCollectionBehavior behavior =
NSWindowCollectionBehaviorFullScreenPrimary | NSWindowCollectionBehaviorFullScreenAuxiliary |
NSWindowCollectionBehaviorManaged; NSWindowCollectionBehaviorManaged;
[window->ns.object setCollectionBehavior:behavior]; [window->ns.object setCollectionBehavior:behavior];
} }