aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar mwenzkowski <29407878+mwenzkowski@users.noreply.github.com>2020-10-28 00:02:08 +0100
committerLibravatar Tudor Brindus <me@tbrindus.ca>2020-10-27 19:26:26 -0400
commit32788a93f23eaa683f7a88694c778cd084607754 (patch)
treedf3ecb3274ccc953c28445e483b24ca22cec9c10 /include
parentSmart borders fix: always show borders for floating containers (diff)
downloadsway-32788a93f23eaa683f7a88694c778cd084607754.tar.gz
sway-32788a93f23eaa683f7a88694c778cd084607754.tar.zst
sway-32788a93f23eaa683f7a88694c778cd084607754.zip
output: evacuate sticky containers only if new output has a workspace
Sticky floating containers on an otherwise empty workspace can only be evacuated if the new output has an active workspace. The noop output may not have one and in that case we have to move the whole workspace to the new output.
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/workspace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index 1adbe68a..fe200ec0 100644
--- a/include/sway/tree/workspace.h
+++ b/include/sway/tree/workspace.h
@@ -132,4 +132,6 @@ void workspace_get_box(struct sway_workspace *workspace, struct wlr_box *box);
132 132
133size_t workspace_num_tiling_views(struct sway_workspace *ws); 133size_t workspace_num_tiling_views(struct sway_workspace *ws);
134 134
135size_t workspace_num_sticky_containers(struct sway_workspace *ws);
136
135#endif 137#endif