diff options
author | nicm <nicm> | 2017-08-23 09:16:39 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-08-23 09:16:39 +0000 |
commit | f0ce29c341a176654596dec4c9d20d8d9611d0b9 (patch) | |
tree | 6619fcc41527338005f27788d78389f7dc333d92 | |
parent | e1b3dc89d2f44ae6243be3222ed62daf78e63062 (diff) | |
download | rtmux-f0ce29c341a176654596dec4c9d20d8d9611d0b9.tar.gz rtmux-f0ce29c341a176654596dec4c9d20d8d9611d0b9.tar.bz2 rtmux-f0ce29c341a176654596dec4c9d20d8d9611d0b9.zip |
Allow multiple bells even if there is an existing bell (but not activity
or silence), from Brad Town.
-rw-r--r-- | alerts.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |