opt: x11 app miss last frame scale

This commit is contained in:
DreamMaoMao 2025-06-14 11:59:43 +08:00
parent 5e0787c111
commit fda4cc7a01

View file

@ -5340,11 +5340,6 @@ void buffer_set_effect(Client *c, animationScale data) {
data.should_scale = false; data.should_scale = false;
} }
if (client_is_x11(c) && c->current.height >= c->animation.current.height &&
c->current.width >= c->animation.current.width) {
data.should_scale = false;
}
if (c == grabc) if (c == grabc)
data.should_scale = false; data.should_scale = false;