diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-28 06:48:44 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-28 06:48:44 +0000 |
commit | 2da48644837cd51cfe5a9628140866f06e049e50 (patch) | |
tree | 299073ccb81f85b53b47b60324cd1508f8e2621e /window.c | |
parent | 309b76fb3255529976ff7ade7e29df8624647312 (diff) | |
download | rtmux-2da48644837cd51cfe5a9628140866f06e049e50.tar.gz rtmux-2da48644837cd51cfe5a9628140866f06e049e50.tar.bz2 rtmux-2da48644837cd51cfe5a9628140866f06e049e50.zip |
If select-layout is not given an argument, repply the last layout used in the
window, if any.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |