diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-24 19:35:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-24 19:35:33 +0000 |
commit | 2bb89bc5bce2f5ab59c4bec760f1151c4fb8b0a3 (patch) | |
tree | c7bbfc381f94b6b51c8e16b6c9f495d6dfa6e704 | |
parent | 133173850c4e9986e27d5d1733b4771e209d0015 (diff) | |
download | rtmux-2bb89bc5bce2f5ab59c4bec760f1151c4fb8b0a3.tar.gz rtmux-2bb89bc5bce2f5ab59c4bec760f1151c4fb8b0a3.tar.bz2 rtmux-2bb89bc5bce2f5ab59c4bec760f1151c4fb8b0a3.zip |
Set the active pane when respawning a window - fixes problems when respawning a
window with multiple panes.
-rw-r--r-- | cmd-respawn-window.c | 1 |
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); |