=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window.c,v retrieving revision 1.277 retrieving revision 1.278 diff -c -r1.277 -r1.278 *** src/usr.bin/tmux/window.c 2021/10/07 07:52:13 1.277 --- src/usr.bin/tmux/window.c 2022/02/03 07:38:17 1.278 *************** *** 1,4 **** ! /* $OpenBSD: window.c,v 1.277 2021/10/07 07:52:13 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window.c,v 1.278 2022/02/03 07:38:17 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 754,759 **** --- 754,760 ---- if (w->active != NULL) { w->active->flags |= PANE_CHANGED; notify_window("window-pane-changed", w); + window_update_focus(w); } } else if (wp == w->last) w->last = NULL;