1
0
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:
nicm 2017-08-23 09:16:39 +00:00
parent e1b3dc89d2
commit f0ce29c341

View File

@ -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;