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

Diff for /src/usr.bin/tmux/alerts.c between version 1.12 and 1.13

version 1.12, 2016/10/03 22:52:11 version 1.13, 2016/10/16 22:18:04
Line 75 
Line 75 
 static void  static void
 alerts_run_hook(struct session *s, struct winlink *wl, int flags)  alerts_run_hook(struct session *s, struct winlink *wl, int flags)
 {  {
         struct cmd_find_state    fs;  
   
         if (cmd_find_from_winlink(&fs, s, wl) != 0)  
                 return;  
   
         if (flags & WINDOW_BELL)          if (flags & WINDOW_BELL)
                 hooks_run(s->hooks, NULL, &fs, "alert-bell");                  notify_winlink("alert-bell", s, wl);
         if (flags & WINDOW_SILENCE)          if (flags & WINDOW_SILENCE)
                 hooks_run(s->hooks, NULL, &fs, "alert-silence");                  notify_winlink("alert-silence", s, wl);
         if (flags & WINDOW_ACTIVITY)          if (flags & WINDOW_ACTIVITY)
                 hooks_run(s->hooks, NULL, &fs, "alert-activity");                  notify_winlink("alert-activity", s, wl);
 }  }
   
 static int  static int

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13