diff options
author | Thomas <thomas@xteddy.org> | 2013-08-20 10:37:55 +0100 |
---|---|---|
committer | Thomas <thomas@xteddy.org> | 2013-08-20 13:03:53 +0100 |
commit | c103f2fbcbeb82019b694bed6869942bc1cbe966 (patch) | |
tree | dd862b67173024b72ad23a6c6df9577e1e8b2df0 /window.c | |
parent | aa4920fea3dcdcaa0dbe4d373160195b1a3ca892 (diff) | |
download | rtmux-c103f2fbcbeb82019b694bed6869942bc1cbe966.tar.gz rtmux-c103f2fbcbeb82019b694bed6869942bc1cbe966.tar.bz2 rtmux-c103f2fbcbeb82019b694bed6869942bc1cbe966.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 therfore 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
@@ -1243,6 +1243,7 @@ winlink_clear_flags(struct winlink *wl) continue; wm->flags &= ~WINLINK_ALERTFLAGS; + wm->window->flags &= ~WINDOW_ALERTFLAGS; server_status_session(s); } } |