Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2015-12-03 00:01:08 +00:00
commit 66bad2e979
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");

View File

@ -578,6 +578,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;
}