diff options
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. */ |