move container_set_layout to layout.h

This commit is contained in:
Tony Crisci 2018-04-03 13:16:23 -04:00
parent fcbcbf34ad
commit 065887bb7b
4 changed files with 17 additions and 18 deletions

View file

@ -41,10 +41,13 @@ struct sway_container *container_add_sibling(struct sway_container *parent,
struct sway_container *container_remove_child(struct sway_container *child);
// TODO PRIVATE in tree.h
struct sway_container *container_replace_child(struct sway_container *child,
struct sway_container *new_child);
// TODO move to layout.c
struct sway_container *container_set_layout(struct sway_container *container,
enum sway_container_layout layout);
// TODO move to tree.h
void container_move_to(struct sway_container* container,
struct sway_container* destination);