diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-05-18 18:16:44 -0400 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2022-05-31 09:14:28 +0000 |
commit | 71f8a48d380701de1e3331d53d470bd76f5f643b (patch) | |
tree | a4a3ed7bf9a6bb649002d618c1f37faddf1c027b /include/wlr | |
parent | cb2dbc327e4d695c2a60a386e116a7dc20b29107 (diff) |
wlr_scene: Move children list from wlr_scene_node to wlr_scene_tree
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_scene.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index 9b20cbd9..86976f61 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -51,9 +51,7 @@ struct wlr_scene_node { enum wlr_scene_node_type type; struct wlr_scene_tree *parent; - struct wl_list link; // wlr_scene_node.children - - struct wl_list children; // wlr_scene_node.link + struct wl_list link; // wlr_scene_tree.children bool enabled; int x, y; // relative to parent @@ -76,6 +74,8 @@ enum wlr_scene_debug_damage_option { /** A sub-tree in the scene-graph. */ struct wlr_scene_tree { struct wlr_scene_node node; + + struct wl_list children; // wlr_scene_node.link }; /** The root scene-graph node. */ |