summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index bc6906a8..d1f92920 100644
--- a/window.c
+++ b/window.c
@@ -231,7 +231,7 @@ window_create1(u_int sx, u_int sy)
TAILQ_INIT(&w->panes);
w->active = NULL;
- w->layout = 0;
+ w->lastlayout = -1;
w->layout_root = NULL;
w->sx = sx;