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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd-up-pane.c b/cmd-up-pane.c
index 2f092ece..8b262c60 100644
--- a/cmd-up-pane.c
+++ b/cmd-up-pane.c
@@ -54,7 +54,6 @@ 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 (!window_pane_visible(w->active));
return (0);