opt: allow tag animaiton when client switch tag

This commit is contained in:
DreamMaoMao committed 2025-09-21 11:54:52 +08:00
1 parent 6d24ee3945
commit c03ba0436d
2 files changed
+12 -2

No files matched your search

+5
View File
@@ -892,6 +892,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;