Fixed Lion full screen regression.

Restored lines lost during testing surgery.
This commit is contained in:
Camilla Berglund 2014-10-29 23:13:24 +01:00
parent 9f58d8d715
commit 34bf1b13e9

View File

@ -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*/