diff options
author | nicm <nicm> | 2013-10-10 11:59:23 +0000 |
---|---|---|
committer | nicm <nicm> | 2013-10-10 11:59:23 +0000 |
commit | 90ae7682ed06557bd4d8deac9d9e48ecc7b38a07 (patch) | |
tree | bd7ee4ecc69a1f3fdc1f8751eab9971f75058e48 /window.c | |
parent | e6af0ad23e1a43add71dd09a03c05057aab26748 (diff) | |
download | rtmux-90ae7682ed06557bd4d8deac9d9e48ecc7b38a07.tar.gz rtmux-90ae7682ed06557bd4d8deac9d9e48ecc7b38a07.tar.bz2 rtmux-90ae7682ed06557bd4d8deac9d9e48ecc7b38a07.zip |
Clear window->flags when clearing winlinks
When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for
that window, clear the window->flags as well, otherwise sessions may
well still see flags for winlinks long since cleared.
This therefore introduces WINDOW_ALERTFLAGS to help with this.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1242,6 +1242,7 @@ winlink_clear_flags(struct winlink *wl) continue; wm->flags &= ~WINLINK_ALERTFLAGS; + wm->window->flags &= ~WINDOW_ALERTFLAGS; server_status_session(s); } } |