mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
move container_set_layout to layout.h
This commit is contained in:
parent
fcbcbf34ad
commit
065887bb7b
4 changed files with 17 additions and 18 deletions
|
|
@ -132,10 +132,6 @@ struct sway_container *container_destroy(struct sway_container *container);
|
|||
|
||||
struct sway_container *container_close(struct sway_container *container);
|
||||
|
||||
// TODO move to layout.c
|
||||
struct sway_container *container_set_layout(struct sway_container *container,
|
||||
enum sway_container_layout layout);
|
||||
|
||||
// TODO rename to container_descendants_for_each()
|
||||
void container_descendants(struct sway_container *root,
|
||||
enum sway_container_type type,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue