diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-01 21:10:08 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-01 21:10:08 +0000 |
commit | 91bc6836f7f4c5a983b12be233a279d7dfd4ec99 (patch) | |
tree | b0d67bec1833cfe8c897b4c9a6f6eee8015d8eb7 /resize.c | |
parent | 474853439c358d9ce23bdc9b87361d6127f9e061 (diff) | |
download | rtmux-91bc6836f7f4c5a983b12be233a279d7dfd4ec99.tar.gz rtmux-91bc6836f7f4c5a983b12be233a279d7dfd4ec99.tar.bz2 rtmux-91bc6836f7f4c5a983b12be233a279d7dfd4ec99.zip |
- Allow switching to hidden windows (for active-only layout).
- Don't update unnecessarily for other layouts when changing active pane doesn't matter.
Diffstat (limited to 'resize.c')
-rw-r--r-- | resize.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: resize.c,v 1.20 2009-04-01 18:21:32 nicm Exp $ */ +/* $Id: resize.c,v 1.21 2009-04-01 21:10:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -48,7 +48,6 @@ recalculate_sizes(void) struct session *s; struct client *c; struct window *w; - struct window_pane *wp; u_int i, j, ssx, ssy, has, limit; int flag; @@ -134,6 +133,6 @@ recalculate_sizes(void) window_resize(w, ssx, ssy); server_redraw_window(w); - layout_refresh(w); + layout_refresh(w, 0); } } |