opt: optimize floating window animation in scroller layout
This commit is contained in:
2
main.c
2
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;
|
return DOWN;
|
||||||
} else if (visible_client_number < 2 && !c->isfloating) {
|
} else if (visible_client_number < 2 && !c->isfloating) {
|
||||||
return DOWN;
|
return DOWN;
|
||||||
|
|||||||
Reference in New Issue
Block a user