[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.102 and 1.103

version 1.102, 2016/11/04 18:56:25 version 1.103, 2017/01/11 14:56:44
Line 117 
Line 117 
         if (*optstr == '@')          if (*optstr == '@')
                 return (cmd_set_option_user(self, item, optstr, valstr));                  return (cmd_set_option_user(self, item, optstr, valstr));
   
         /* Find the option entry, try each table. */          /* Find the option entry. */
         oe = NULL;          oe = NULL;
         if (options_table_find(optstr, &oe) != 0) {          if (options_table_find(optstr, &oe) != 0) {
                 if (!args_has(args, 'q')) {                  if (!args_has(args, 'q')) {
Line 184 
Line 184 
                         return (CMD_RETURN_ERROR);                          return (CMD_RETURN_ERROR);
         }          }
   
         /* Start or stop timers if necessary. */          /* Update timers and so on for various options. */
         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 (w->active == NULL)                          if (w->active == NULL)
Line 207 
Line 207 
                 RB_FOREACH(w, windows, &windows)                  RB_FOREACH(w, windows, &windows)
                         w->flags |= WINDOW_STYLECHANGED;                          w->flags |= WINDOW_STYLECHANGED;
         }          }
   
         /* When the pane-border-status option has been changed, resize panes. */  
         if (strcmp(oe->name, "pane-border-status") == 0) {          if (strcmp(oe->name, "pane-border-status") == 0) {
                 RB_FOREACH(w, windows, &windows)                  RB_FOREACH(w, windows, &windows)
                         layout_fix_panes(w, w->sx, w->sy);                          layout_fix_panes(w, w->sx, w->sy);

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103