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

Diff for /src/usr.bin/tmux/notify.c between version 1.5 and 1.6

version 1.5, 2012/09/25 07:41:22 version 1.6, 2015/04/24 23:17:11
Line 136 
Line 136 
 notify_input(struct window_pane *wp, struct evbuffer *input)  notify_input(struct window_pane *wp, struct evbuffer *input)
 {  {
         struct client   *c;          struct client   *c;
         u_int            i;  
   
         /*          /*
          * notify_input() is not queued and only does anything when           * notify_input() is not queued and only does anything when
Line 145 
Line 144 
         if (!notify_enabled)          if (!notify_enabled)
                 return;                  return;
   
         for (i = 0; i < ARRAY_LENGTH(&clients); i++) {          TAILQ_FOREACH(c, &clients, entry) {
                 c = ARRAY_ITEM(&clients, i);                  if (c->flags & CLIENT_CONTROL)
                 if (c != NULL && (c->flags & CLIENT_CONTROL))  
                         control_notify_input(c, wp, input);                          control_notify_input(c, wp, input);
         }          }
 }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6