From b05b5ba0cfae3743abc378cbbf1f3fe0ce6c4184 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Tue, 5 Dec 2023 16:19:04 +0000 Subject: [PATCH] Partially revert ddc9047 ...to just call wlr_scene_output_commit() as was previously the case and thus avoid freezing screens reported by a number of users. Fixes: #1273 --- src/output.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/output.c b/src/output.c index dc441f8f..f154c194 100644 --- a/src/output.c +++ b/src/output.c @@ -63,11 +63,11 @@ output_frame_notify(struct wl_listener *listener, void *data) return; } - if (lab_wlr_scene_output_commit(output->scene_output)) { - struct timespec now = { 0 }; - clock_gettime(CLOCK_MONOTONIC, &now); - wlr_scene_output_send_frame_done(output->scene_output, &now); - } + wlr_scene_output_commit(output->scene_output, NULL); + + struct timespec now = { 0 }; + clock_gettime(CLOCK_MONOTONIC, &now); + wlr_scene_output_send_frame_done(output->scene_output, &now); } static void -- 2.52.0