From 2bb89bc5bce2f5ab59c4bec760f1151c4fb8b0a3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 24 Jul 2009 19:35:33 +0000 Subject: [PATCH] Set the active pane when respawning a window - fixes problems when respawning a window with multiple panes. --- cmd-respawn-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c index 3a795461..6faf11d9 100644 --- a/cmd-respawn-window.c +++ b/cmd-respawn-window.c @@ -81,6 +81,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx) } layout_init(w); screen_reinit(&wp->base); + window_set_active_pane(w, wp); recalculate_sizes(); server_redraw_window(w);