diff options
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/container.h | 5 | ||||
-rw-r--r-- | include/sway/tree/workspace.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 2735daa3..5e281a2f 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -279,8 +279,11 @@ void container_add_child(struct sway_container *parent, | |||
279 | void container_insert_child(struct sway_container *parent, | 279 | void container_insert_child(struct sway_container *parent, |
280 | struct sway_container *child, int i); | 280 | struct sway_container *child, int i); |
281 | 281 | ||
282 | /** | ||
283 | * Side should be 0 to add before, or 1 to add after. | ||
284 | */ | ||
282 | void container_add_sibling(struct sway_container *parent, | 285 | void container_add_sibling(struct sway_container *parent, |
283 | struct sway_container *child); | 286 | struct sway_container *child, bool after); |
284 | 287 | ||
285 | void container_detach(struct sway_container *child); | 288 | void container_detach(struct sway_container *child); |
286 | 289 | ||
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h index af9a071a..e4b616d1 100644 --- a/include/sway/tree/workspace.h +++ b/include/sway/tree/workspace.h | |||
@@ -126,4 +126,6 @@ void workspace_update_representation(struct sway_workspace *ws); | |||
126 | 126 | ||
127 | void workspace_get_box(struct sway_workspace *workspace, struct wlr_box *box); | 127 | void workspace_get_box(struct sway_workspace *workspace, struct wlr_box *box); |
128 | 128 | ||
129 | size_t workspace_num_tiling_views(struct sway_workspace *ws); | ||
130 | |||
129 | #endif | 131 | #endif |