aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-03 12:25:19 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-03 12:25:19 -0400
commitb4c5f79725142c78a398a22981392d645bc9d2e9 (patch)
treec6f836b1179c018c55b6dfead9cbca4e2fa97876 /include/sway/tree
parent7afbe9284ff1ca2eece6da1838061cad9ed655e0 (diff)
downloadsway-b4c5f79725142c78a398a22981392d645bc9d2e9.tar.xz
move view and workspace destructors to container.c
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/container.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 1286316a..278505ce 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -128,11 +128,12 @@ struct sway_container *container_view_create(
struct sway_container *sibling, struct sway_view *sway_view);
// TODO don't return the parent on destroy
-void container_destroy(struct sway_container *container);
+struct sway_container *container_destroy(struct sway_container *container);
+
+// TODO make me private
+struct sway_container *container_finish(struct sway_container *cont);
-struct sway_container *container_workspace_destroy(struct sway_container *container);
struct sway_container *container_output_destroy(struct sway_container *container);
-void container_view_destroy(struct sway_container *container);
struct sway_container *container_close(struct sway_container *container);