diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-18 21:54:09 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-18 22:02:03 +1000 |
commit | 16c663ed49e3950388901f220066e4da69956dfb (patch) | |
tree | bf71a43528328a786be1a4de02781e6e83aea406 /include/sway/tree/workspace.h | |
parent | Merge pull request #2480 from RyanDwyer/fix-mod-resize (diff) | |
download | sway-16c663ed49e3950388901f220066e4da69956dfb.tar.gz sway-16c663ed49e3950388901f220066e4da69956dfb.tar.zst sway-16c663ed49e3950388901f220066e4da69956dfb.zip |
Rename container_sort_workspaces and container_wrap_children
This commit renames container_sort_workspaces to output_sort_workspaces
and moves it to output.c.
This also renames container_wrap_children to workspace_wrap_children and
moves it to workspace.c. This function is only called with workspaces.
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( | |||
50 | 50 | ||
51 | void workspace_detect_urgent(struct sway_container *workspace); | 51 | void workspace_detect_urgent(struct sway_container *workspace); |
52 | 52 | ||
53 | /** | ||
54 | * Wrap the workspace's tiling children in a new container. | ||
55 | * The new container will be the only direct tiling child of the workspace. | ||
56 | * The new container is returned. | ||
57 | */ | ||
58 | struct sway_container *workspace_wrap_children(struct sway_container *ws); | ||
59 | |||
53 | #endif | 60 | #endif |