On the Windows platform, raise windows and give them focus as the mouse
hovers over them. This allows keyboard shortcuts for the area under the
mouse without having to click the window caption to make them active.
This patch makes it so that as you move your mouse between different Blender windows the window under the mouse automatically becomes active - raises and gets focus. And does so all the time and without any user configuration.
Note that this is only when hovering over the client portion of the window, not non-client areas like the caption (title bar). And this is ONLY between separate windows within a single Blender instance, and NOT between Blender and other applications.
Even between Blender windows, not everything is auto-focused. But most things. Specifically:
- Child to parent
- Parent to child
- Between siblings of the same parent
- Between main windows that do not overlap.
The situations where windows are NOT auto-focused are primarily:
- main parent windows that overlap each other
- between child windows of different parents