From 90ae7682ed06557bd4d8deac9d9e48ecc7b38a07 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 10 Oct 2013 11:59:23 +0000 Subject: [PATCH] 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. --- window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/window.c b/window.c index 3b6b74bd..0ea70688 100644 --- a/window.c +++ b/window.c @@ -1242,6 +1242,7 @@ winlink_clear_flags(struct winlink *wl) continue; wm->flags &= ~WINLINK_ALERTFLAGS; + wm->window->flags &= ~WINDOW_ALERTFLAGS; server_status_session(s); } }