Skip to content

Commit

Permalink
frame pacing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FT-Labs committed Dec 19, 2023
1 parent 7b2fa9d commit f51d7ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/picom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f51d7ad

Please sign in to comment.