[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.4 and 1.5

version 1.4, 2012/09/03 09:32:38 version 1.5, 2012/09/25 07:41:22
Line 133 
Line 133 
 }  }
   
 void  void
   notify_input(struct window_pane *wp, struct evbuffer *input)
   {
           struct client   *c;
           u_int            i;
   
           /*
            * notify_input() is not queued and only does anything when
            * notifications are enabled.
            */
           if (!notify_enabled)
                   return;
   
           for (i = 0; i < ARRAY_LENGTH(&clients); i++) {
                   c = ARRAY_ITEM(&clients, i);
                   if (c != NULL && (c->flags & CLIENT_CONTROL))
                           control_notify_input(c, wp, input);
           }
   }
   
   void
 notify_window_layout_changed(struct window *w)  notify_window_layout_changed(struct window *w)
 {  {
         notify_add(NOTIFY_WINDOW_LAYOUT_CHANGED, NULL, NULL, w);          notify_add(NOTIFY_WINDOW_LAYOUT_CHANGED, NULL, NULL, w);

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