[BACK]Return to control-notify.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/control-notify.c between version 1.2 and 1.3

version 1.2, 2012/09/25 07:41:22 version 1.3, 2013/03/25 10:04:23
Line 104 
Line 104 
                         continue;                          continue;
                 cs = c->session;                  cs = c->session;
   
                 if (winlink_find_by_window_id(&cs->windows, w->id) != NULL)                  control_write(c, "%%window-close %u", w->id);
                         control_write(c, "%%window-close %u", w->id);  
                 else  
                         control_write(c, "%%unlinked-window-close %u", w->id);  
         }          }
 }  }
   
Line 144 
Line 141 
                         continue;                          continue;
                 s = c->session;                  s = c->session;
   
                 if (winlink_find_by_window_id(&s->windows, w->id) != NULL) {                  control_write(c, "%%window-renamed %u %s", w->id, w->name);
                         control_write(c, "%%window-renamed %u %s",  
                             w->id, w->name);  
                 } else {  
                         control_write(c, "%%unlinked-window-renamed %u %s",  
                             w->id, w->name);  
                 }  
         }          }
 }  }
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3