]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Partially revert ddc9047
authorJohan Malm <jgm323@gmail.com>
Tue, 5 Dec 2023 16:19:04 +0000 (16:19 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 8 Dec 2023 22:13:02 +0000 (22:13 +0000)
...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

index dc441f8f78434fed82d68b6916a07d83d7b34a8b..f154c194aca3cb10d294f82f773d0fee37a510ca 100644 (file)
@@ -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