diff options
author | 2009-07-28 06:48:44 +0000 | |
---|---|---|
committer | 2009-07-28 06:48:44 +0000 | |
commit | ba17146de3f7883eb78fa8899ae04fab90724b2a (patch) | |
tree | 080d54735e2bdab8337b7ba9ddf8f89e2ef11a45 /usr.bin/tmux/window.c | |
parent | print the chipset name in the dmesg so it is possible to tell (diff) | |
download | wireguard-openbsd-ba17146de3f7883eb78fa8899ae04fab90724b2a.tar.xz wireguard-openbsd-ba17146de3f7883eb78fa8899ae04fab90724b2a.zip |
If select-layout is not given an argument, repply the last layout used in the
window, if any.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r-- | usr.bin/tmux/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index d03d9538cda..df914543055 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.16 2009/07/22 21:34:36 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.17 2009/07/28 06:48:44 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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; |