diff options
author | 2019-04-17 14:37:48 +0000 | |
---|---|---|
committer | 2019-04-17 14:37:48 +0000 | |
commit | c26c4f79767981d9e7cfd9040b1fbb03d77cf042 (patch) | |
tree | 902aef886172968a1fc96b65e65f5c4f8a7d12f6 /usr.bin/tmux/cmd-attach-session.c | |
parent | retguard-cookie-in-register is slightly unstable on arm64, so surgically (diff) | |
download | wireguard-openbsd-c26c4f79767981d9e7cfd9040b1fbb03d77cf042.tar.xz wireguard-openbsd-c26c4f79767981d9e7cfd9040b1fbb03d77cf042.zip |
Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.
Diffstat (limited to 'usr.bin/tmux/cmd-attach-session.c')
-rw-r--r-- | usr.bin/tmux/cmd-attach-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-attach-session.c b/usr.bin/tmux/cmd-attach-session.c index 450b60e6553..7950ab9f5db 100644 --- a/usr.bin/tmux/cmd-attach-session.c +++ b/usr.bin/tmux/cmd-attach-session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-attach-session.c,v 1.76 2018/10/18 08:38:01 nicm Exp $ */ +/* $OpenBSD: cmd-attach-session.c,v 1.77 2019/04/17 14:37:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |