diff options
author | Tony Crisci <[email protected]> | 2018-04-02 22:37:21 -0400 |
---|---|---|
committer | Tony Crisci <[email protected]> | 2018-04-02 22:37:21 -0400 |
commit | 2992b72d61933568476e2bf4baf573e714f9ed40 (patch) | |
tree | 0682e081d94d73ef2b4b9a7f8d1646c11bb33b8e /include/sway/tree/layout.h | |
parent | 2c165e1288cbb60f5e677595e35f58a9c56c7010 (diff) |
change reap container approach
Diffstat (limited to 'include/sway/tree/layout.h')
-rw-r--r-- | include/sway/tree/layout.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h index 8badb244..9d33d561 100644 --- a/include/sway/tree/layout.h +++ b/include/sway/tree/layout.h @@ -41,7 +41,9 @@ 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_reap_empty(struct sway_container *container); + +struct sway_container *container_replace_child(struct sway_container *child, + struct sway_container *new_child); // TODO move to tree.h void container_move_to(struct sway_container* container, |