[BACK]Return to cmd-set-option.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-set-option.c between version 1.76 and 1.77

version 1.76, 2015/07/27 08:45:45 version 1.77, 2015/08/28 12:16:28
Line 176 
Line 176 
                         return (CMD_RETURN_ERROR);                          return (CMD_RETURN_ERROR);
         }          }
   
         /* Start or stop timers when automatic-rename changed. */          /* Start or stop timers when name or status options changed. */
         if (strcmp(oe->name, "automatic-rename") == 0) {          if (strcmp(oe->name, "automatic-rename") == 0) {
                 RB_FOREACH(w, windows, &windows) {                  RB_FOREACH(w, windows, &windows) {
                         if (options_get_number(&w->options, "automatic-rename"))                          if (options_get_number(&w->options, "automatic-rename"))
Line 185 
Line 185 
                                 evtimer_del(&w->name_timer);                                  evtimer_del(&w->name_timer);
                 }                  }
         }          }
           if (strcmp(oe->name, "status") == 0 ||
               strcmp(oe->name, "status-interval") == 0)
                   status_timer_start_all();
   
         /* Update sizes and redraw. May not need it but meh. */          /* Update sizes and redraw. May not need it but meh. */
         recalculate_sizes();          recalculate_sizes();

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77