If select-layout is not given an argument, repply the last layout used in the

window, if any.
This commit is contained in:
Nicholas Marriott
2009-07-28 06:48:44 +00:00
parent 309b76fb32
commit 2da4864483
6 changed files with 42 additions and 24 deletions

View File

@ -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;