From 4b2ab2ff2ff6f1a9744884eef6fd30eecb37bb30 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Fri, 22 May 2026 09:19:17 +0800 Subject: [PATCH] fix: fix ov scale when disable animaiton --- src/animation/client.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/animation/client.h b/src/animation/client.h index fc959b3f..5275096d 100644 --- a/src/animation/client.h +++ b/src/animation/client.h @@ -825,7 +825,7 @@ void client_apply_clip(Client *c, float factor) { enum corner_location current_corner_location = set_client_corner_location(c); - if (!config.animations) { + if (!config.animations && !c->mon->isoverview) { c->animation.running = false; c->need_output_flush = false; c->animainit_geom = c->current = c->pending = c->animation.current = @@ -910,7 +910,7 @@ void client_apply_clip(Client *c, float factor) { buffer_data.height = clip_box.height; buffer_data.corner_location = current_corner_location; - if (factor == 1.0) { + if (factor == 1.0 && !c->mon->isoverview) { buffer_data.width_scale = 1.0; buffer_data.height_scale = 1.0; } else {