aboutsummaryrefslogtreecommitdiff
path: root/resize.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-04-01 21:10:08 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-04-01 21:10:08 +0000
commit91bc6836f7f4c5a983b12be233a279d7dfd4ec99 (patch)
treeb0d67bec1833cfe8c897b4c9a6f6eee8015d8eb7 /resize.c
parent474853439c358d9ce23bdc9b87361d6127f9e061 (diff)
downloadrtmux-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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/resize.c b/resize.c
index 26aabbb0..e6c73222 100644
--- a/resize.c
+++ b/resize.c
@@ -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);
}
}