summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd-respawn-window.c1
1 files changed, 1 insertions, 0 deletions
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);