From 275af2ad62596c11c1c7b31bcb1ca740e2e04fe1 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Sat, 30 Nov 2019 16:59:52 +0100 Subject: [PATCH] output: Restore previous max_render_time behavior --- sway/desktop/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 97ea2e7c5..6b0ceee1d 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -426,7 +426,7 @@ static void send_frame_done_iterator(struct sway_output *output, struct sway_vie int delay = data->msec_until_refresh - output->max_render_time - view_max_render_time; - if ((output->max_render_time == 0 && view_max_render_time == 0) || delay < 1) { + if (output->max_render_time == 0 || view_max_render_time == 0 || delay < 1) { wlr_surface_send_frame_done(surface, &data->when); } else { struct sway_surface *sway_surface = surface->data;