diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-06 20:02:27 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-06 20:02:27 +0000 |
commit | 367e002bc20d369c59e40ef1522a1f4aed63407c (patch) | |
tree | 8d126cebdd7627944250252c9cecf389ea128f44 /cmd-next-window.c | |
parent | 3cd4a08ffb4bcba0cfbb8a29574ff40d134dc186 (diff) |
New flag: aggressize resize. Resize window when to size of smallest session for which it is _current_ window.
Diffstat (limited to 'cmd-next-window.c')
-rw-r--r-- | cmd-next-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-next-window.c b/cmd-next-window.c index 7296ffc5..aaa2ac28 100644 --- a/cmd-next-window.c +++ b/cmd-next-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-next-window.c,v 1.11 2008-06-05 21:25:00 nicm Exp $ */ +/* $Id: cmd-next-window.c,v 1.12 2008-06-06 20:02:27 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -52,6 +52,7 @@ cmd_next_window_exec(struct cmd *self, struct cmd_ctx *ctx) server_redraw_session(s); else ctx->error(ctx, "no next window"); + recalculate_sizes(); if (ctx->cmdclient != NULL) server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); |