artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5010707
)
Update focus when active pane changes after pane destroyed.
author
nicm
<nicm@openbsd.org>
Thu, 3 Feb 2022 07:38:17 +0000
(07:38 +0000)
committer
nicm
<nicm@openbsd.org>
Thu, 3 Feb 2022 07:38:17 +0000
(07:38 +0000)
usr.bin/tmux/window.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/window.c
b/usr.bin/tmux/window.c
index
e4a45ce
..
e495b0a
100644
(file)
--- a/
usr.bin/tmux/window.c
+++ b/
usr.bin/tmux/window.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: window.c,v 1.27
7 2021/10/07 07:52:13
nicm Exp $ */
+/* $OpenBSD: window.c,v 1.27
8 2022/02/03 07:38:17
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-754,6
+754,7
@@
window_lost_pane(struct window *w, struct window_pane *wp)
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;