diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-04-07 13:01:03 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2019-04-07 13:01:03 +0100 |
commit | 5ece386cdf84b692c1f28b5bf018ac619d067fde (patch) | |
tree | 29e38521bfa457820300718c394b8b72d584e400 /cmd-attach-session.c | |
parent | 7653328ce7e2876dff3219a02cdd87ade3caf90a (diff) | |
download | rtmux-5ece386cdf84b692c1f28b5bf018ac619d067fde.tar.gz rtmux-5ece386cdf84b692c1f28b5bf018ac619d067fde.tar.bz2 rtmux-5ece386cdf84b692c1f28b5bf018ac619d067fde.zip |
Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.
Diffstat (limited to 'cmd-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index 73ff530d..bcd6d895 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -87,7 +87,7 @@ cmd_attach_session(struct cmdq_item *item, const char *tflag, int dflag, if (wl != NULL) { if (wp != NULL) - window_set_active_pane(wp->window, wp); + window_set_active_pane(wp->window, wp, 1); session_set_current(s, wl); if (wp != NULL) cmd_find_from_winlink_pane(current, wl, wp, 0); |