diff options
author | nicm <nicm> | 2015-12-02 23:09:22 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-12-02 23:09:22 +0000 |
commit | 7236838dead7885b90c6a57736433bea63c26599 (patch) | |
tree | 91baaf949be25de826e3b8448e5b49e18f23a0e6 /window.c | |
parent | a785a7f7005761a3ab52b8c336e1ff5881eb7d83 (diff) | |
download | rtmux-7236838dead7885b90c6a57736433bea63c26599.tar.gz rtmux-7236838dead7885b90c6a57736433bea63c26599.tar.bz2 rtmux-7236838dead7885b90c6a57736433bea63c26599.zip |
Mark new active pane changed after pane lost in window, and after
break-pane. Reported by tim@.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |