opt: optimize scratchpad animaiton set

This commit is contained in:
DreamMaoMao 2025-09-24 20:17:22 +08:00
parent 54955a54fc
commit 2ca0b39e6b
2 changed files with 6 additions and 2 deletions

View file

@ -891,7 +891,7 @@ void resize(Client *c, struct wlr_box geo, int interact) {
c->animainit_geom = c->geom;
}
if (c->isminied) {
if (c->scratchpad_switching_mon) {
c->animainit_geom = c->geom;
}