mirror of
https://github.com/glfw/glfw.git
synced 2024-11-21 20:44:35 +00:00
MacOS replace green fullscreen button with zoom button
This commit is contained in:
parent
f4cd470bcb
commit
21f76d510f
@ -1093,7 +1093,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
|
||||
if (wndconfig->resizable)
|
||||
{
|
||||
const NSWindowCollectionBehavior behavior =
|
||||
NSWindowCollectionBehaviorFullScreenPrimary |
|
||||
NSWindowCollectionBehaviorFullScreenAuxiliary |
|
||||
NSWindowCollectionBehaviorManaged;
|
||||
[window->ns.object setCollectionBehavior:behavior];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user