diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 68b7eb99..f38c6c8b 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -955,6 +955,9 @@ static GLboolean createWindow(_GLFWwindow* window, #if defined(_GLFW_USE_RETINA) [window->ns.view setWantsBestResolutionOpenGLSurface:YES]; #endif + + if (wndconfig->resizable) + [window->ns.object setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; } #endif /*MAC_OS_X_VERSION_MAX_ALLOWED*/