Allow multiple bells even if there is an existing bell (but not activity

or silence), from Brad Town.
pull/1050/head
nicm 2017-08-23 09:16:39 +00:00
parent e1b3dc89d2
commit f0ce29c341
1 changed files with 4 additions and 2 deletions

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;