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 /cmd-down-pane.c | |
parent | 474853439c358d9ce23bdc9b87361d6127f9e061 (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-down-pane.c')
-rw-r--r-- | cmd-down-pane.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-down-pane.c b/cmd-down-pane.c index cd150349..af67bbac 100644 --- a/cmd-down-pane.c +++ b/cmd-down-pane.c @@ -1,4 +1,4 @@ -/* $Id: cmd-down-pane.c,v 1.6 2009-04-01 18:33:19 nicm Exp $ */ +/* $Id: cmd-down-pane.c,v 1.7 2009-04-01 21:10:08 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -54,6 +54,7 @@ cmd_down_pane_exec(struct cmd *self, struct cmd_ctx *ctx) w->active = TAILQ_NEXT(w->active, entry); if (w->active == NULL) w->active = TAILQ_FIRST(&w->panes); + layout_refresh(w, 1); } while (w->active->flags & PANE_HIDDEN); return (0); |