From 1bc6f7f243f385881773f1034cf75d186d4b665f Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 19 Jan 2022 04:42:01 -0500 Subject: [PATCH] scene_graph: remove unused outputs list --- examples/scene-graph.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/scene-graph.c b/examples/scene-graph.c index a8ac66844..cf1372e72 100644 --- a/examples/scene-graph.c +++ b/examples/scene-graph.c @@ -29,7 +29,6 @@ struct server { struct wlr_allocator *allocator; struct wlr_scene *scene; - struct wl_list outputs; struct wl_list surfaces; struct wl_listener new_output; @@ -79,7 +78,6 @@ static void server_handle_new_output(struct wl_listener *listener, void *data) { output->server = server; output->frame.notify = output_handle_frame; wl_signal_add(&wlr_output->events.frame, &output->frame); - wl_list_insert(&server->outputs, &output->link); output->scene_output = wlr_scene_output_create(server->scene, wlr_output); @@ -172,7 +170,6 @@ int main(int argc, char *argv[]) { wlr_xdg_shell_create(server.display); - wl_list_init(&server.outputs); wl_list_init(&server.surfaces); server.new_output.notify = server_handle_new_output;