This behavior is default but it can be changed such that a user can switch active windows just by hovering the mouse cursor over the window. This behavior was not present in Windows Vista, Windows XP or earlier Operating Systems but Windows 7, Windows 8.1 and Windows 10 include this feature by default. You just have to enable it to activate the functionality. Let’s go through the process step by step: This should activate the mouse hovering feature for you. Now if there are many windows open on your Desktop, just hovering over the mouse on any window will bring it to front making it the active window. Also see:

Easily Add Second Taskbar To Windows 10 With “Switch”How to Change Mouse Cursor/Pointer on Windows 11/10How To Create And Manage Multiple Desktops (Virtual Desktops) On Windows 11Get Back Command Prompt in Windows 10 October 2018 Update (Under Win+X Menu)6 Ways To Open Task Manager In Windows 11