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
This commit is contained in:
Johan Malm 2023-12-05 16:19:04 +00:00 committed by Johan Malm
parent 1149b31c7f
commit b05b5ba0cf

View file

@ -63,11 +63,11 @@ output_frame_notify(struct wl_listener *listener, void *data)
return; return;
} }
if (lab_wlr_scene_output_commit(output->scene_output)) { wlr_scene_output_commit(output->scene_output, NULL);
struct timespec now = { 0 };
clock_gettime(CLOCK_MONOTONIC, &now); struct timespec now = { 0 };
wlr_scene_output_send_frame_done(output->scene_output, &now); clock_gettime(CLOCK_MONOTONIC, &now);
} wlr_scene_output_send_frame_done(output->scene_output, &now);
} }
static void static void