aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-04-03 12:25:19 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-04-03 12:25:19 -0400
commitfe4776f62c387511c431da859be20ccd4e4833ea (patch)
treec6f836b1179c018c55b6dfead9cbca4e2fa97876 /include
parent3b9f77100ab9bf145c2cebd4e922430024266f8e (diff)
move view and workspace destructors to container.c
Diffstat (limited to 'include')
-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);