Only do the automatic-rename dance if the pane has changed (seen output,

or new active pane).
This commit is contained in:
nicm
2015-08-28 07:49:24 +00:00
parent 2ffbd5b5f0
commit fc58e44f89
4 changed files with 8 additions and 0 deletions

View File

@ -412,6 +412,7 @@ window_set_active_pane(struct window *w, struct window_pane *wp)
return (1);
}
w->active->active_point = next_active_point++;
w->active->flags |= PANE_CHANGED;
return (1);
}