[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.28 and 1.29

version 1.28, 2017/09/22 09:04:46 version 1.29, 2017/12/28 12:10:50
Line 200 
Line 200 
                  * not check WINLINK_BELL).                   * not check WINLINK_BELL).
                  */                   */
                 s = wl->session;                  s = wl->session;
                 if (s->curw != wl)                  if (s->curw != wl) {
                         wl->flags |= WINLINK_BELL;                          wl->flags |= WINLINK_BELL;
                           server_status_session(s);
                   }
                 if (!alerts_action_applies(wl, "bell-action"))                  if (!alerts_action_applies(wl, "bell-action"))
                         continue;                          continue;
                 notify_winlink("alert-bell", wl);                  notify_winlink("alert-bell", wl);
Line 234 
Line 236 
                 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;                          wl->flags |= WINLINK_ACTIVITY;
                           server_status_session(s);
                   }
                 if (!alerts_action_applies(wl, "activity-action"))                  if (!alerts_action_applies(wl, "activity-action"))
                         continue;                          continue;
                 notify_winlink("alert-activity", wl);                  notify_winlink("alert-activity", wl);
Line 268 
Line 272 
                 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;                          wl->flags |= WINLINK_SILENCE;
                           server_status_session(s);
                   }
                 if (!alerts_action_applies(wl, "silence-action"))                  if (!alerts_action_applies(wl, "silence-action"))
                         continue;                          continue;
                 notify_winlink("alert-silence", wl);                  notify_winlink("alert-silence", wl);

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29