[RDY] Convert FOR_ALL_WINDOWS to use a locally declared pointer

This isn't an opportunity for `FOR_ALL_WINDOW`s?