From 2c2ddbb8f5520336d7d48bf3b5a37655c36dbcd7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 23 Apr 2025 20:59:34 +0530 Subject: [PATCH] Remove useless animate parameter --- glfw/cocoa_window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 47e9c3bb2..71d1b0080 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -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