[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.14 and 1.15

version 1.14, 2016/10/19 09:22:07 version 1.15, 2016/10/25 07:24:10
Line 233 
Line 233 
                 if (wl->flags & WINLINK_ACTIVITY)                  if (wl->flags & WINLINK_ACTIVITY)
                         continue;                          continue;
                 s = wl->session;                  s = wl->session;
                 if (s->curw != wl) {                  if (s->curw == wl)
                         wl->flags |= WINLINK_ACTIVITY;                          continue;
                         notify_winlink("alert-activity", s, wl);  
                 }  
   
                   wl->flags |= WINLINK_ACTIVITY;
                   notify_winlink("alert-activity", s, wl);
   
                 if (s->flags & SESSION_ALERTED)                  if (s->flags & SESSION_ALERTED)
                         continue;                          continue;
                 s->flags |= SESSION_ALERTED;                  s->flags |= SESSION_ALERTED;
Line 269 
Line 270 
                 if (wl->flags & WINLINK_SILENCE)                  if (wl->flags & WINLINK_SILENCE)
                         continue;                          continue;
                 s = wl->session;                  s = wl->session;
                 if (s->curw != wl) {                  if (s->curw == wl)
                         wl->flags |= WINLINK_SILENCE;                          continue;
                         notify_winlink("alert-silence", s, wl);                  wl->flags |= WINLINK_SILENCE;
                 }                  notify_winlink("alert-silence", s, wl);
   
                 if (s->flags & SESSION_ALERTED)                  if (s->flags & SESSION_ALERTED)
                         continue;                          continue;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15