aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-01-19 04:42:01 -0500
committerAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-01-19 04:42:01 -0500
commit1bc6f7f243f385881773f1034cf75d186d4b665f (patch)
treeee47b91e0f77400c3d8b507f10794f7490a11d77 /examples
parent8656c772489b9f7bde3b9e9c91c872a1d3d82f27 (diff)
scene_graph: remove unused outputs list
Diffstat (limited to 'examples')
-rw-r--r--examples/scene-graph.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/scene-graph.c b/examples/scene-graph.c
index a8ac6684..cf1372e7 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;