Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2016-11-04 20:01:11 +00:00
commit 13f1a922e1
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,8 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item)
/* Start or stop timers if necessary. */
if (strcmp(oe->name, "automatic-rename") == 0) {
RB_FOREACH(w, windows, &windows) {
if (w->active == NULL)
continue;
if (options_get_number(w->options, "automatic-rename"))
w->active->flags |= PANE_CHANGED;
}