diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-08-19 10:01:19 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-08-19 10:01:19 +0100 |
commit | 5a55d1390ace032ad51d5fdd9f71feb47638671d (patch) | |
tree | 8511bfd56c4206a1228bfcda2dfd08e0aee3d4ac /alerts.c | |
parent | 93eb2c8c535c71765f39bb71865acca989a35132 (diff) | |
parent | d8b6560cbfb5677223982e4b27be92b2fcd034df (diff) | |
download | rtmux-5a55d1390ace032ad51d5fdd9f71feb47638671d.tar.gz rtmux-5a55d1390ace032ad51d5fdd9f71feb47638671d.tar.bz2 rtmux-5a55d1390ace032ad51d5fdd9f71feb47638671d.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'alerts.c')
-rw-r--r-- | alerts.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -200,7 +200,7 @@ alerts_check_bell(struct window *w) * not check WINLINK_BELL). */ s = wl->session; - if (s->curw != wl) { + if (s->curw != wl || s->attached == 0) { wl->flags |= WINLINK_BELL; server_status_session(s); } @@ -236,7 +236,7 @@ alerts_check_activity(struct window *w) if (wl->flags & WINLINK_ACTIVITY) continue; s = wl->session; - if (s->curw != wl) { + if (s->curw != wl || s->attached == 0) { wl->flags |= WINLINK_ACTIVITY; server_status_session(s); } @@ -272,7 +272,7 @@ alerts_check_silence(struct window *w) if (wl->flags & WINLINK_SILENCE) continue; s = wl->session; - if (s->curw != wl) { + if (s->curw != wl || s->attached == 0) { wl->flags |= WINLINK_SILENCE; server_status_session(s); } |