From 916edb333cf2c19afe477972bc39c1f7990c9e6d Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Mon, 10 Feb 2025 19:27:00 +0800 Subject: [PATCH] opt: optimize floating window animation in scroller layout --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 8de33fd..d920d6f 100644 --- a/main.c +++ b/main.c @@ -3683,7 +3683,7 @@ int is_special_animaiton_rule(Client *c) { } } - if (strcmp(selmon->lt[selmon->sellt]->name , "scroller") == 0) { + if (strcmp(selmon->lt[selmon->sellt]->name , "scroller") == 0 && !c->isfloating) { return DOWN; } else if (visible_client_number < 2 && !c->isfloating) { return DOWN;