The following instructions have only been tested on Windows 10.
- Navigate to Control Panel > Ease of Access > Ease of Access Center > Make the mouse easier to use.
- Check "Activate a window by hovering over it with the mouse" and hit OK.
Once "Focus follows mouse" is enabled, you may find it helpful to prevent windows from being brought to front on focus:
- In the registry editor, navigate to
Computer\HKEY_CURRENT_USER\Control Panel\Desktop. - Update
ActiveWndTrkTimeoutto 300. - Update
UserPreferencesMaskby subtracting 40 bits from the first hex value e.g. DF -> 9F. - Log out and log back in.
PS: These instructions are terse. For more detailed steps, check out @erbanku's comment.
Step 1 and 2 seem to be enough to enable focus follows mouse. Everything else just prevents windows from being brought to the front if you hover your mousr over them. Would you mind adding this as context to your guide @anshumanb?