mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
More unnecessary arguments now winlink points back to session.
This commit is contained in:
6
alerts.c
6
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;
|
||||
|
Reference in New Issue
Block a user