summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-02-03 10:01:10 +0000
committerThomas Adam <thomas@xteddy.org>2022-02-03 10:01:10 +0000
commit1fdec20b0da5dc3c93214aa4b2a562b533570d66 (patch)
tree6c37c1f5800cbfa2afde25d93810c0c2b6b5a56a /window.c
parent375f6c90b034a62255f12781a3e3b17d2724172b (diff)
parentc401c91ad9f1ef8ea50b11762856a458de525bf9 (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'window.c')
-rw-r--r--window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.c b/window.c
index d3e3f60f..fcc61c2a 100644
--- a/window.c
+++ b/window.c
@@ -761,6 +761,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;