Remove useless animate parameter

This commit is contained in:
Kovid Goyal 2025-04-23 20:59:34 +05:30
parent 57c1a6ffcc
commit 2c2ddbb8f5
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -2012,7 +2012,7 @@ void _glfwPlatformDestroyWindow(_GLFWwindow* window)
[nswindow setAnimationBehavior:animation_behavior];
[nswindow setLevel:level];
[nswindow setCollectionBehavior: (NSWindowCollectionBehaviorCanJoinAllSpaces | NSWindowCollectionBehaviorStationary | NSWindowCollectionBehaviorIgnoresCycle)];
[nswindow setFrame:NSMakeRect(x, y, width, height) display:YES animate:config.type != GLFW_LAYER_SHELL_BACKGROUND];
[nswindow setFrame:NSMakeRect(x, y, width, height) display:YES];
return true;
#undef config
#undef nswindow