=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-attach-session.c,v retrieving revision 1.76 retrieving revision 1.77 diff -c -r1.76 -r1.77 *** src/usr.bin/tmux/cmd-attach-session.c 2018/10/18 08:38:01 1.76 --- src/usr.bin/tmux/cmd-attach-session.c 2019/04/17 14:37:48 1.77 *************** *** 1,4 **** ! /* $OpenBSD: cmd-attach-session.c,v 1.76 2018/10/18 08:38:01 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-attach-session.c,v 1.77 2019/04/17 14:37:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 87,93 **** if (wl != NULL) { if (wp != NULL) ! window_set_active_pane(wp->window, wp); session_set_current(s, wl); if (wp != NULL) cmd_find_from_winlink_pane(current, wl, wp, 0); --- 87,93 ---- if (wl != NULL) { if (wp != NULL) ! 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);