mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: tag animation should overwrite the open animaiton
This commit is contained in:
parent
3b3f60e954
commit
e95bbe31c7
1 changed files with 2 additions and 1 deletions
|
|
@ -4810,7 +4810,8 @@ void resize(Client *c, struct wlr_box geo, int interact) {
|
|||
client_set_opacity(c, 1);
|
||||
}
|
||||
|
||||
if (c->animation.action == OPEN && wlr_box_equal(&c->geom, &c->current)) {
|
||||
if (c->animation.action == OPEN && !c->animation.tagining
|
||||
&& !c->animation.tagouting && wlr_box_equal(&c->geom, &c->current)) {
|
||||
c->animation.action = c->animation.action;
|
||||
} else if (c->animation.tagouting) {
|
||||
c->animation.duration = animation_duration_tag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue