From: Johan Malm Date: Tue, 5 Dec 2023 16:19:04 +0000 (+0000) Subject: Partially revert ddc9047 X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=b05b5ba0cfae3743abc378cbbf1f3fe0ce6c4184;p=proto%2Flabwc.git 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 --- 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