diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-21 14:09:45 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-21 14:09:45 +0000 |
commit | d40f4aa2705319f5974337e1f241c3a6b40694b4 (patch) | |
tree | fcf1393e69b1d1848da174c3ca2e1dfe2e725814 /usr.bin/tmux/alerts.c | |
parent | d5fb3ffc9ea030f32810ab4855858bde81269048 (diff) |
More unnecessary arguments now winlink points back to session.
Diffstat (limited to 'usr.bin/tmux/alerts.c')
-rw-r--r-- | usr.bin/tmux/alerts.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/alerts.c b/usr.bin/tmux/alerts.c index 25f631a74e3..902cb45bfac 100644 --- a/usr.bin/tmux/alerts.c +++ b/usr.bin/tmux/alerts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alerts.c,v 1.16 2016/11/01 09:07:18 nicm Exp $ */ +/* $OpenBSD: alerts.c,v 1.17 2017/04/21 14:09:44 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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; |