Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2017-07-12 16:01:11 +01:00
commit e3698e6e1f
2 changed files with 5 additions and 1 deletions

View File

@ -258,8 +258,12 @@ window_tree_build_window(struct session *s, struct winlink *wl, void* modedata,
free(text);
free(name);
if (window_count_panes(wl->window) == 1)
return (1);
l = NULL;
n = 0;
TAILQ_FOREACH(wp, &wl->window->panes, entry) {
if (filter != NULL) {
cp = format_single(NULL, filter, NULL, s, wl, wp);