diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-30 13:47:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-30 13:47:35 +0200 |
commit | f1dbdce0b2cfb6a71f972dd58180337c8ad27096 (patch) | |
tree | 061fc029a12ea5edd42444a1c03176083b210bf3 /sway/commands/layout.c | |
parent | e518c5dbaf93ab4f83031e83e03823d85469a30f (diff) | |
parent | 7661c71b3323f4bc6a8253b16cb12be8ef1a1d12 (diff) |
Merge pull request #2726 from RyanDwyer/overhaul-gaps
Make gaps implementation consistent with i3-gaps
Diffstat (limited to 'sway/commands/layout.c')
-rw-r--r-- | sway/commands/layout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index ef3ec1cb..c2ce2e78 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c @@ -138,15 +138,14 @@ struct cmd_results *cmd_layout(int argc, char **argv) { } container->layout = new_layout; container_update_representation(container); - arrange_container(container); } else { if (old_layout != L_TABBED && old_layout != L_STACKED) { workspace->prev_split_layout = old_layout; } workspace->layout = new_layout; workspace_update_representation(workspace); - arrange_workspace(workspace); } + arrange_workspace(workspace); } return cmd_results_new(CMD_SUCCESS, NULL, NULL); |