summaryrefslogtreecommitdiffstats
path: root/cmd-select-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-01-31 20:54:42 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-01-31 20:54:42 +0000
commit7462c03281718a0a9947b6e7cddc29a1393bfdac (patch)
treedcc5de9362b8be081b89fccce496d2549aceca48 /cmd-select-pane.c
parent567741caf57749205d9c190a901430541e5b1fdf (diff)
Redraw pane borders when switching to last pane.
Diffstat (limited to 'cmd-select-pane.c')
-rw-r--r--cmd-select-pane.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c
index 9aed0a92..0dd847d6 100644
--- a/cmd-select-pane.c
+++ b/cmd-select-pane.c
@@ -79,7 +79,11 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
ctx->error(ctx, "no last pane");
return (-1);
}
+
window_set_active_pane(wl->window, wl->window->last);
+ server_status_window(wl->window);
+ server_redraw_window_borders(wl->window);
+
return (0);
}