aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/workspace.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-18 21:54:09 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-18 22:02:03 +1000
commit16c663ed49e3950388901f220066e4da69956dfb (patch)
treebf71a43528328a786be1a4de02781e6e83aea406 /include/sway/tree/workspace.h
parentMerge pull request #2480 from RyanDwyer/fix-mod-resize (diff)
downloadsway-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.h7
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
51void workspace_detect_urgent(struct sway_container *workspace); 51void 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 */
58struct sway_container *workspace_wrap_children(struct sway_container *ws);
59
53#endif 60#endif