From f51d7ad6e3d8cf6b64cf3630686dbdc528e9369b Mon Sep 17 00:00:00 2001 From: Arda Atci Date: Tue, 19 Dec 2023 17:57:10 +0300 Subject: [PATCH] frame pacing fix --- src/picom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/picom.c b/src/picom.c index bdf4bbc028..2d2c740182 100644 --- a/src/picom.c +++ b/src/picom.c @@ -1649,8 +1649,8 @@ static bool redirect_start(session_t *ps) { } ps->frame_pacing = !ps->o.no_frame_pacing; - // if ((ps->o.legacy_backends || ps->o.benchmark || !ps->backend_data->ops->last_render_time) && - if ((ps->o.legacy_backends || ps->o.animations || ps->o.benchmark || !ps->backend_data->ops->last_render_time) && + // if ((ps->o.legacy_backends || ps->o.animations || ps->o.benchmark || !ps->backend_data->ops->last_render_time) && + if ((ps->o.legacy_backends || ps->o.benchmark || !ps->backend_data->ops->last_render_time) && ps->frame_pacing) { // Disable frame pacing if we are using a legacy backend or if we are in // benchmark mode, or if the backend doesn't report render time