aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <rpigott@berkeley.edu>2020-10-25 14:20:11 -0700
committerLibravatar Tudor Brindus <me@tbrindus.ca>2020-12-20 00:58:42 -0500
commitece6a1d408456ade74c88dee7d4b9e0491f0bdaf (patch)
tree09f5a40a02347c927a91ab66da6c794cfd787c97 /include
parentRevert "commands/move: maintain workspace_layout when moving" (diff)
downloadsway-ece6a1d408456ade74c88dee7d4b9e0491f0bdaf.tar.gz
sway-ece6a1d408456ade74c88dee7d4b9e0491f0bdaf.tar.zst
sway-ece6a1d408456ade74c88dee7d4b9e0491f0bdaf.zip
Change workspace_layout to match i3 behavior
In i3, the workspace_layout command does not affect the workspace layout. Instead, new workspace level containers are wrapped in the desired layout and the workspace layout always defaults to the output orientation.
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/workspace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index fe200ec0..3c9f93ed 100644
--- a/include/sway/tree/workspace.h
+++ b/include/sway/tree/workspace.h
@@ -110,13 +110,13 @@ void workspace_unwrap_children(struct sway_workspace *ws,
110 110
111void workspace_detach(struct sway_workspace *workspace); 111void workspace_detach(struct sway_workspace *workspace);
112 112
113void workspace_add_tiling(struct sway_workspace *workspace, 113struct sway_container *workspace_add_tiling(struct sway_workspace *workspace,
114 struct sway_container *con); 114 struct sway_container *con);
115 115
116void workspace_add_floating(struct sway_workspace *workspace, 116void workspace_add_floating(struct sway_workspace *workspace,
117 struct sway_container *con); 117 struct sway_container *con);
118 118
119void workspace_insert_tiling(struct sway_workspace *workspace, 119struct sway_container *workspace_insert_tiling(struct sway_workspace *workspace,
120 struct sway_container *con, int index); 120 struct sway_container *con, int index);
121 121
122void workspace_remove_gaps(struct sway_workspace *ws); 122void workspace_remove_gaps(struct sway_workspace *ws);