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