mirror of
https://github.com/tmux/tmux.git
synced 2025-03-26 15:58:47 +00:00
Allow multiple bells even if there is an existing bell (but not activity
or silence), from Brad Town.
This commit is contained in:
parent
e1b3dc89d2
commit
f0ce29c341
6
alerts.c
6
alerts.c
@ -195,8 +195,10 @@ alerts_check_bell(struct window *w)
|
||||
wl->session->flags &= ~SESSION_ALERTED;
|
||||
|
||||
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
|
||||
if (wl->flags & WINLINK_BELL)
|
||||
continue;
|
||||
/*
|
||||
* Bells are allowed even if there is an existing bell (so do
|
||||
* not check WINLINK_BELL).
|
||||
*/
|
||||
s = wl->session;
|
||||
if (s->curw != wl)
|
||||
wl->flags |= WINLINK_BELL;
|
||||
|
Loading…
Reference in New Issue
Block a user