Clear window->flags when clearing winlinks
commit90ae7682ed06557bd4d8deac9d9e48ecc7b38a07
authornicm <nicm>
Thu, 10 Oct 2013 11:59:23 +0000 (10 11:59 +0000)
committernicm <nicm>
Thu, 10 Oct 2013 11:59:23 +0000 (10 11:59 +0000)
treebd7ee4ecc69a1f3fdc1f8751eab9971f75058e48
parente6af0ad23e1a43add71dd09a03c05057aab26748
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