From f0ce29c341a176654596dec4c9d20d8d9611d0b9 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 23 Aug 2017 09:16:39 +0000 Subject: Allow multiple bells even if there is an existing bell (but not activity or silence), from Brad Town. --- alerts.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/alerts.c b/alerts.c index 091c953d..32469c63 100644 --- a/alerts.c +++ b/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; -- cgit