Chase wlroots: wlr_scene is now a tree node

Chases wlroots 9eb71146ae56c509ee33c7e8a662549592aad870
wlr_scene: Refactor wlr_scene (the root element) to encase a wlr_scene_tree
This commit is contained in:
Consolatis 2022-06-04 23:38:37 +02:00 committed by Johan Malm
parent fb1af5f68e
commit 3f65a2ff77
7 changed files with 17 additions and 16 deletions

View file

@ -135,14 +135,14 @@ new_output_notify(struct wl_listener *listener, void *data)
for (int i = 0; i < nr_layers; i++) {
wl_list_init(&output->layers[i]);
output->layer_tree[i] =
wlr_scene_tree_create(&server->scene->node);
wlr_scene_tree_create(&server->scene->tree.node);
node_descriptor_create(&output->layer_tree[i]->node,
LAB_NODE_DESC_TREE, NULL);
}
output->layer_popup_tree = wlr_scene_tree_create(&server->scene->node);
output->layer_popup_tree = wlr_scene_tree_create(&server->scene->tree.node);
node_descriptor_create(&output->layer_popup_tree->node,
LAB_NODE_DESC_TREE, NULL);
output->osd_tree = wlr_scene_tree_create(&server->scene->node);
output->osd_tree = wlr_scene_tree_create(&server->scene->tree.node);
node_descriptor_create(&output->osd_tree->node,
LAB_NODE_DESC_TREE, NULL);