summaryrefslogtreecommitdiffstats
path: root/cmd-up-pane.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-up-pane.c')
-rw-r--r--cmd-up-pane.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-up-pane.c b/cmd-up-pane.c
index c9b45030..0b14fe24 100644
--- a/cmd-up-pane.c
+++ b/cmd-up-pane.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-up-pane.c,v 1.6 2009-04-01 18:33:19 nicm Exp $ */
+/* $Id: cmd-up-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_up_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
w->active = TAILQ_PREV(w->active, window_panes, entry);
if (w->active == NULL)
w->active = TAILQ_LAST(&w->panes, window_panes);
+ layout_refresh(w, 1);
} while (w->active->flags & PANE_HIDDEN);
return (0);