When not using the compositor, and cycling windows (with alt-tab), the wireframe that indicates which window is currently selected does not appear if the currently selected window has the same width and height as the previously selected window, which is not an uncommon situation. The attached minimal patch fixes the problem.
For this kind of stuff, you should report that directly upstream. Regards,