mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Remove useless animate parameter
This commit is contained in:
@@ -2012,7 +2012,7 @@ _glfwPlatformSetLayerShellConfig(_GLFWwindow* window, const GLFWLayerShellConfig
|
|||||||
[nswindow setAnimationBehavior:animation_behavior];
|
[nswindow setAnimationBehavior:animation_behavior];
|
||||||
[nswindow setLevel:level];
|
[nswindow setLevel:level];
|
||||||
[nswindow setCollectionBehavior: (NSWindowCollectionBehaviorCanJoinAllSpaces | NSWindowCollectionBehaviorStationary | NSWindowCollectionBehaviorIgnoresCycle)];
|
[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;
|
return true;
|
||||||
#undef config
|
#undef config
|
||||||
#undef nswindow
|
#undef nswindow
|
||||||
|
|||||||
Reference in New Issue
Block a user