opt: allow tag animaiton when client switch tag

This commit is contained in:
DreamMaoMao 2025-09-21 11:54:52 +08:00
parent daa4860853
commit 0820e19210
2 changed files with 12 additions and 2 deletions

View file

@ -772,6 +772,11 @@ void client_set_pending_state(Client *c) {
c->animation.duration = 0;
}
if (c->istagswitching) {
c->animation.duration = 0;
c->istagswitching = 0;
}
// 开始动画
client_commit(c);
c->dirty = true;