修复滚动布局下的浮动窗口打开动画起始位置

This commit is contained in:
DreamMaoMao 2025-02-10 18:52:01 +08:00
parent 1ed3b8021a
commit 66fd1e8af1

2
main.c
View file

@ -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;