aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-03-19 17:57:44 -0400
committerGitHub <noreply@github.com>2017-03-19 17:57:44 -0400
commite659db4f73366010ad0017297a594216585510e4 (patch)
tree7be02709fd7d81d1829810df24578faa73f77804 /sway/container.c
parent0fa8b5abfbddbdacfb9330167ae09bd4027f9654 (diff)
parent924ed6464c25219bc0dd5ed06885cd3692042a20 (diff)
Merge pull request #1130 from oranenj/fix_move_next_crash
Fix move next crash
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c
index d43ee35e..707aa4d8 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -218,7 +218,7 @@ swayc_t *new_workspace(swayc_t *output, const char *name) {
swayc_t *workspace = new_swayc(C_WORKSPACE);
workspace->prev_layout = L_NONE;
- workspace->layout = L_HORIZ;
+ workspace->layout = default_layout(output);
workspace->workspace_layout = default_layout(output);
workspace->x = output->x;