Track window state in manual test windowflags.