summaryrefslogtreecommitdiffstats
path: root/alerts.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-21 14:09:44 +0000
committernicm <nicm>2017-04-21 14:09:44 +0000
commitc799425069d02675474cda312fac1457829052fb (patch)
tree072ca7fbea547071b5f4a14de7edc166bf0ac51c /alerts.c
parent428be9803cab5121bc8ccad5ecbcce509c57b3a1 (diff)
More unnecessary arguments now winlink points back to session.
Diffstat (limited to 'alerts.c')
-rw-r--r--alerts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/alerts.c b/alerts.c
index 43108ed4..708a24e2 100644
--- a/alerts.c
+++ b/alerts.c
@@ -178,7 +178,7 @@ alerts_check_bell(struct window *w)
s = wl->session;
if (s->curw != wl) {
wl->flags |= WINLINK_BELL;
- notify_winlink("alert-bell", s, wl);
+ notify_winlink("alert-bell", wl);
}
if (s->flags & SESSION_ALERTED)
@@ -239,7 +239,7 @@ alerts_check_activity(struct window *w)
continue;
wl->flags |= WINLINK_ACTIVITY;
- notify_winlink("alert-activity", s, wl);
+ notify_winlink("alert-activity", wl);
if (s->flags & SESSION_ALERTED)
continue;
@@ -275,7 +275,7 @@ alerts_check_silence(struct window *w)
if (s->curw == wl)
continue;
wl->flags |= WINLINK_SILENCE;
- notify_winlink("alert-silence", s, wl);
+ notify_winlink("alert-silence", wl);
if (s->flags & SESSION_ALERTED)
continue;