Querying the window can call into windowproc so we need to avoid it when we hold `inner`. Adjust the flow so that we can get the info about the window state purely from an HWND. refs: #2257
Querying the window can call into windowproc so we need to avoid it when we hold `inner`. Adjust the flow so that we can get the info about the window state purely from an HWND. refs: #2257