diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-07-28 23:04:29 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-07-28 23:04:29 +0000 |
commit | d9dcc5ed44a5cc9f0129af3d2f444c043bcf1ab7 (patch) | |
tree | fe7fa5faedc6253859f0feaab36519c8a10ff0ba /window.c | |
parent | 1c73e759821dc41ff39ac81b7396913beed41ca0 (diff) | |
download | rtmux-d9dcc5ed44a5cc9f0129af3d2f444c043bcf1ab7.tar.gz rtmux-d9dcc5ed44a5cc9f0129af3d2f444c043bcf1ab7.tar.bz2 rtmux-d9dcc5ed44a5cc9f0129af3d2f444c043bcf1ab7.zip |
Sync OpenBSD patchset 191:
If select-layout is not given an argument, reapply the last layout used in the
window, if any.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.98 2009-07-23 13:10:38 tcunha Exp $ */ +/* $Id: window.c,v 1.99 2009-07-28 23:04:29 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -229,7 +229,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; |