mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
change reap container approach
This commit is contained in:
parent
2c165e1288
commit
2992b72d61
5 changed files with 63 additions and 38 deletions
|
|
@ -128,11 +128,11 @@ struct sway_container *container_view_create(
|
|||
struct sway_container *sibling, struct sway_view *sway_view);
|
||||
|
||||
// TODO don't return the parent on destroy
|
||||
struct sway_container *container_destroy(struct sway_container *container);
|
||||
void container_destroy(struct sway_container *container);
|
||||
|
||||
struct sway_container *container_workspace_destroy(struct sway_container *container);
|
||||
struct sway_container *container_output_destroy(struct sway_container *container);
|
||||
struct sway_container *container_view_destroy(struct sway_container *container);
|
||||
void container_view_destroy(struct sway_container *container);
|
||||
|
||||
struct sway_container *container_close(struct sway_container *container);
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue