Redraw pane borders when switching to last pane.

pull/1/head
Nicholas Marriott 2011-01-31 20:54:42 +00:00
parent 567741caf5
commit 7462c03281
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}