=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-select-pane.c,v retrieving revision 1.47 retrieving revision 1.48 diff -c -r1.47 -r1.48 *** src/usr.bin/tmux/cmd-select-pane.c 2019/03/14 09:53:52 1.47 --- src/usr.bin/tmux/cmd-select-pane.c 2019/04/17 14:37:48 1.48 *************** *** 1,4 **** ! /* $OpenBSD: cmd-select-pane.c,v 1.47 2019/03/14 09:53:52 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-select-pane.c,v 1.48 2019/04/17 14:37:48 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 112,118 **** else { server_unzoom_window(w); window_redraw_active_switch(w, lastwp); ! if (window_set_active_pane(w, lastwp)) { cmd_find_from_winlink(current, wl, 0); cmd_select_pane_redraw(w); } --- 112,118 ---- else { server_unzoom_window(w); window_redraw_active_switch(w, lastwp); ! if (window_set_active_pane(w, lastwp, 1)) { cmd_find_from_winlink(current, wl, 0); cmd_select_pane_redraw(w); } *************** *** 194,200 **** return (CMD_RETURN_NORMAL); server_unzoom_window(wp->window); window_redraw_active_switch(w, wp); ! if (window_set_active_pane(w, wp)) { cmd_find_from_winlink_pane(current, wl, wp, 0); hooks_insert(s->hooks, item, current, "after-select-pane"); cmd_select_pane_redraw(w); --- 194,200 ---- return (CMD_RETURN_NORMAL); server_unzoom_window(wp->window); window_redraw_active_switch(w, wp); ! if (window_set_active_pane(w, wp, 1)) { cmd_find_from_winlink_pane(current, wl, wp, 0); hooks_insert(s->hooks, item, current, "after-select-pane"); cmd_select_pane_redraw(w);