summaryrefslogtreecommitdiffstats
path: root/cmd-select-pane.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 /cmd-select-pane.c
parent474853439c358d9ce23bdc9b87361d6127f9e061 (diff)
- 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 'cmd-select-pane.c')
-rw-r--r--cmd-select-pane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c
index 16cdc95b..71175942 100644
--- a/cmd-select-pane.c
+++ b/cmd-select-pane.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-select-pane.c,v 1.3 2009-04-01 18:21:26 nicm Exp $ */
+/* $Id: cmd-select-pane.c,v 1.4 2009-04-01 21:10:08 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -63,7 +63,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
}
window_set_active_pane(wl->window, wp);
- layout_refresh(wl->window);
+ layout_refresh(wl->window, 1);
return (0);
}