diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-01-19 04:38:19 -0500 |
---|---|---|
committer | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-01-19 04:38:19 -0500 |
commit | 8656c772489b9f7bde3b9e9c91c872a1d3d82f27 (patch) | |
tree | 200534a35a52f10acc6a9296ffcdb06206a04a8d /examples/scene-graph.c | |
parent | 1bd0ea3a809bdba092ef051120bb6d32f79c0ffb (diff) |
scene_graph: use wlr_scene_output_send_frame_done
Diffstat (limited to 'examples/scene-graph.c')
-rw-r--r-- | examples/scene-graph.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/scene-graph.c b/examples/scene-graph.c index aa542996..a8ac6684 100644 --- a/examples/scene-graph.c +++ b/examples/scene-graph.c @@ -64,11 +64,7 @@ static void output_handle_frame(struct wl_listener *listener, void *data) { struct timespec now; clock_gettime(CLOCK_MONOTONIC, &now); - - struct surface *surface; - wl_list_for_each(surface, &output->server->surfaces, link) { - wlr_surface_send_frame_done(surface->wlr, &now); - } + wlr_scene_output_send_frame_done(output->scene_output, &now); } static void server_handle_new_output(struct wl_listener *listener, void *data) { |