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

@ -82,6 +82,7 @@ cmd_break_pane_exec(struct cmd *self, struct cmd_q *cmdq)
window_set_name(w, name);
free(name);
layout_init(w, wp);
wp->flags |= PANE_CHANGED;
if (idx == -1)
idx = -1 - options_get_number(dst_s->options, "base-index");