[RFC] Convert FOR_ALL_WINDOWS to use a locally declared pointer

:+1: