diff options
| author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-04-06 08:17:21 -0400 | 
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2022-05-31 09:14:28 +0000 | 
| commit | cb2dbc327e4d695c2a60a386e116a7dc20b29107 (patch) | |
| tree | 56f1927e342df5798084d94b776efed4e2e26560 /include | |
| parent | ccd0f85c2a36308e35b153c7f9653abac7659af3 (diff) | |
| download | wlroots-cb2dbc327e4d695c2a60a386e116a7dc20b29107.tar.xz | |
wlr_scene: Inline wlr_scene_node_state
This seems like nothing interesting was done with this. Let's simplify
and allow us some flexibility in the future.
Diffstat (limited to 'include')
| -rw-r--r-- | include/wlr/types/wlr_scene.h | 17 | 
1 files changed, 7 insertions, 10 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index aed617f9..9b20cbd9 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -46,20 +46,17 @@ enum wlr_scene_node_type {  	WLR_SCENE_NODE_BUFFER,  }; -struct wlr_scene_node_state { -	struct wl_list link; // wlr_scene_node_state.children - -	struct wl_list children; // wlr_scene_node_state.link - -	bool enabled; -	int x, y; // relative to parent -}; -  /** A node is an object in the scene. */  struct wlr_scene_node {  	enum wlr_scene_node_type type;  	struct wlr_scene_tree *parent; -	struct wlr_scene_node_state state; + +	struct wl_list link; // wlr_scene_node.children + +	struct wl_list children; // wlr_scene_node.link + +	bool enabled; +	int x, y; // relative to parent  	struct {  		struct wl_signal destroy;  | 
