mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 02:31:46 +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)
|
if (wndconfig->resizable)
|
||||||
{
|
{
|
||||||
const NSWindowCollectionBehavior behavior =
|
const NSWindowCollectionBehavior behavior =
|
||||||
NSWindowCollectionBehaviorFullScreenPrimary |
|
NSWindowCollectionBehaviorFullScreenAuxiliary |
|
||||||
NSWindowCollectionBehaviorManaged;
|
NSWindowCollectionBehaviorManaged;
|
||||||
[window->ns.object setCollectionBehavior:behavior];
|
[window->ns.object setCollectionBehavior:behavior];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user