Mark new active pane changed after pane lost in window, and after

break-pane. Reported by tim@.
This commit is contained in:
nicm
2015-12-02 23:09:22 +00:00
parent a785a7f700
commit 7236838dea
2 changed files with 3 additions and 0 deletions

View File

@ -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;
}