From 2da48644837cd51cfe5a9628140866f06e049e50 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 28 Jul 2009 06:48:44 +0000 Subject: If select-layout is not given an argument, repply the last layout used in the window, if any. --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'window.c') 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; -- cgit