mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
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:
parent
fb1af5f68e
commit
3f65a2ff77
7 changed files with 17 additions and 16 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue