mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 18:38:48 +00:00
Set the active pane when respawning a window - fixes problems when respawning a
window with multiple panes.
This commit is contained in:
parent
133173850c
commit
2bb89bc5bc
@ -81,6 +81,7 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
}
|
}
|
||||||
layout_init(w);
|
layout_init(w);
|
||||||
screen_reinit(&wp->base);
|
screen_reinit(&wp->base);
|
||||||
|
window_set_active_pane(w, wp);
|
||||||
|
|
||||||
recalculate_sizes();
|
recalculate_sizes();
|
||||||
server_redraw_window(w);
|
server_redraw_window(w);
|
||||||
|
Loading…
Reference in New Issue
Block a user