aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-03 13:16:23 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-03 13:16:23 -0400
commit065887bb7b25c1cf7d39459c79387a24e600085f (patch)
tree7958aed61c6c3c47fc3849434ad09dcbd6b53f65 /include
parentmake container_finish private (diff)
downloadsway-065887bb7b25c1cf7d39459c79387a24e600085f.tar.gz
sway-065887bb7b25c1cf7d39459c79387a24e600085f.tar.zst
sway-065887bb7b25c1cf7d39459c79387a24e600085f.zip
move container_set_layout to layout.h
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/container.h4
-rw-r--r--include/sway/tree/layout.h5
2 files changed, 4 insertions, 5 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 88ca67e9..23014dbe 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -132,10 +132,6 @@ struct sway_container *container_destroy(struct sway_container *container);
132 132
133struct sway_container *container_close(struct sway_container *container); 133struct sway_container *container_close(struct sway_container *container);
134 134
135// TODO move to layout.c
136struct sway_container *container_set_layout(struct sway_container *container,
137 enum sway_container_layout layout);
138
139// TODO rename to container_descendants_for_each() 135// TODO rename to container_descendants_for_each()
140void container_descendants(struct sway_container *root, 136void container_descendants(struct sway_container *root,
141 enum sway_container_type type, 137 enum sway_container_type type,
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index 9d33d561..725422c6 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -41,10 +41,13 @@ struct sway_container *container_add_sibling(struct sway_container *parent,
41struct sway_container *container_remove_child(struct sway_container *child); 41struct sway_container *container_remove_child(struct sway_container *child);
42 42
43// TODO PRIVATE in tree.h 43// TODO PRIVATE in tree.h
44
45struct sway_container *container_replace_child(struct sway_container *child, 44struct sway_container *container_replace_child(struct sway_container *child,
46 struct sway_container *new_child); 45 struct sway_container *new_child);
47 46
47// TODO move to layout.c
48struct sway_container *container_set_layout(struct sway_container *container,
49 enum sway_container_layout layout);
50
48// TODO move to tree.h 51// TODO move to tree.h
49void container_move_to(struct sway_container* container, 52void container_move_to(struct sway_container* container,
50 struct sway_container* destination); 53 struct sway_container* destination);