summaryrefslogtreecommitdiff
path: root/sway/commands/layout.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-04-06 15:57:57 -0400
committerGitHub <[email protected]>2018-04-06 15:57:57 -0400
commit656ef558a2a8d55cf77cbcc8ce01c861cb78ac97 (patch)
tree243104969dc80855d313faf5a0d360dd5508dc52 /sway/commands/layout.c
parentd447460c0153a76a0bc484bb9866cef658b3102f (diff)
parent764489e73760534d49760af123cae46109564e86 (diff)
Merge pull request #1757 from swaywm/boooooooxes
Break everything^W^WUse wlr_box for sway_container
Diffstat (limited to 'sway/commands/layout.c')
-rw-r--r--sway/commands/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c
index 4c49a627..162173c5 100644
--- a/sway/commands/layout.c
+++ b/sway/commands/layout.c
@@ -49,7 +49,7 @@ struct cmd_results *cmd_layout(int argc, char **argv) {
}
}
- arrange_windows(parent, parent->width, parent->height);
+ arrange_windows(parent, parent->box.width, parent->box.height);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}