aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-31 08:57:55 -0400
committerGitHub <noreply@github.com>2016-07-31 08:57:55 -0400
commit955020b161a518634081c5a3332a6d6403e2442e (patch)
tree5188f61ba4305eb55f2fddb631528130393ee4f4
parent44a4905466599155fb7203a585dfca1ce1720b33 (diff)
parent9977b019289adbee8e5704f7b997609ff1b0c896 (diff)
Merge pull request #806 from thejan2009/fix-nested-layouts
Update container geometry on layout switch
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 7247a407..28dcc996 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1998,6 +1998,7 @@ static struct cmd_results *cmd_layout(int argc, char **argv) {
}
update_layout_geometry(parent, old_layout);
+ update_geometry(parent);
arrange_windows(parent, parent->width, parent->height);