mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-22 06:59:52 -05:00
opt: optimize floating window animation in scroller layout
This commit is contained in:
parent
7d53e1e762
commit
916edb333c
1 changed files with 1 additions and 1 deletions
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;
|
||||
} else if (visible_client_number < 2 && !c->isfloating) {
|
||||
return DOWN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue