aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/window.c b/window.c
index deda2895..75b99672 100644
--- a/window.c
+++ b/window.c
@@ -579,6 +579,8 @@ window_lost_pane(struct window *w, struct window_pane *wp)
if (w->active == NULL)
w->active = TAILQ_NEXT(wp, entry);
}
+ if (w->active != NULL)
+ w->active->flags |= PANE_CHANGED;
} else if (wp == w->last)
w->last = NULL;
}