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)
{
const NSWindowCollectionBehavior behavior =
NSWindowCollectionBehaviorFullScreenPrimary |
NSWindowCollectionBehaviorFullScreenAuxiliary |
NSWindowCollectionBehaviorManaged;
[window->ns.object setCollectionBehavior:behavior];
}