Set the active pane when respawning a window - fixes problems when respawning a

window with multiple panes.
This commit is contained in:
Nicholas Marriott 2009-07-24 19:35:33 +00:00
parent 133173850c
commit 2bb89bc5bc

View File

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