diff options
author | Drew DeVault <[email protected]> | 2018-08-18 09:30:13 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2018-08-18 09:30:13 -0400 |
commit | 5c779c11f6fc2ca214f64b905086dead170ae174 (patch) | |
tree | bf71a43528328a786be1a4de02781e6e83aea406 /include/sway/tree/workspace.h | |
parent | cfe205b36fba77ba64184e0c1e8dcb211a7a8904 (diff) | |
parent | 16c663ed49e3950388901f220066e4da69956dfb (diff) |
Merge pull request #2481 from RyanDwyer/rename-functions
Rename container_sort_workspaces and container_wrap_children
Diffstat (limited to 'include/sway/tree/workspace.h')
-rw-r--r-- | include/sway/tree/workspace.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h index 056f2329..5b43ae87 100644 --- a/include/sway/tree/workspace.h +++ b/include/sway/tree/workspace.h @@ -50,4 +50,11 @@ struct sway_container *workspace_output_get_highest_available( void workspace_detect_urgent(struct sway_container *workspace); +/** + * Wrap the workspace's tiling children in a new container. + * The new container will be the only direct tiling child of the workspace. + * The new container is returned. + */ +struct sway_container *workspace_wrap_children(struct sway_container *ws); + #endif |