From 21f76d510f384d9135748406b975e81ba7258b37 Mon Sep 17 00:00:00 2001 From: Fabio Arnold Date: Thu, 22 Feb 2018 17:22:13 +0100 Subject: [PATCH] MacOS replace green fullscreen button with zoom button --- src/cocoa_window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index e1bbce1c..48162936 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -1093,7 +1093,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window, if (wndconfig->resizable) { const NSWindowCollectionBehavior behavior = - NSWindowCollectionBehaviorFullScreenPrimary | + NSWindowCollectionBehaviorFullScreenAuxiliary | NSWindowCollectionBehaviorManaged; [window->ns.object setCollectionBehavior:behavior]; }