mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
66bad2e979
@ -82,6 +82,7 @@ cmd_break_pane_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||||||
window_set_name(w, name);
|
window_set_name(w, name);
|
||||||
free(name);
|
free(name);
|
||||||
layout_init(w, wp);
|
layout_init(w, wp);
|
||||||
|
wp->flags |= PANE_CHANGED;
|
||||||
|
|
||||||
if (idx == -1)
|
if (idx == -1)
|
||||||
idx = -1 - options_get_number(dst_s->options, "base-index");
|
idx = -1 - options_get_number(dst_s->options, "base-index");
|
||||||
|
2
window.c
2
window.c
@ -578,6 +578,8 @@ window_lost_pane(struct window *w, struct window_pane *wp)
|
|||||||
if (w->active == NULL)
|
if (w->active == NULL)
|
||||||
w->active = TAILQ_NEXT(wp, entry);
|
w->active = TAILQ_NEXT(wp, entry);
|
||||||
}
|
}
|
||||||
|
if (w->active != NULL)
|
||||||
|
w->active->flags |= PANE_CHANGED;
|
||||||
} else if (wp == w->last)
|
} else if (wp == w->last)
|
||||||
w->last = NULL;
|
w->last = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user