mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
Chase wlroots: children are now only availabe in tree nodes
Chases wlroots 71f8a48d380701de1e3331d53d470bd76f5f643b wlr_scene: Move children list from wlr_scene_node to wlr_scene_tree
This commit is contained in:
parent
08518513cc
commit
efd9155513
6 changed files with 30 additions and 7 deletions
|
|
@ -10,6 +10,13 @@ lab_wlr_scene_get_rect(struct wlr_scene_node *node)
|
|||
return (struct wlr_scene_rect *)node;
|
||||
}
|
||||
|
||||
struct wlr_scene_tree *
|
||||
lab_scene_tree_from_node(struct wlr_scene_node *node)
|
||||
{
|
||||
assert(node->type == WLR_SCENE_NODE_TREE);
|
||||
return (struct wlr_scene_tree *)node;
|
||||
}
|
||||
|
||||
struct wlr_surface *
|
||||
lab_wlr_surface_from_node(struct wlr_scene_node *node)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue