In my xmonad config, I have set focusFollowsMouse=true so that a window is focused when the mouse pointer is moved onto it. However, I would also like a window to become focused when the mouse pointer is already on it, and it is moved.
Steps to reproduce:
- Move the mouse pointer over some window.
- Focus a different window using the keyboard, e.g. by Mod+Tab or selecting a different screen.
- Move the mouse pointer slightly, so that it stays on the same window.
Desired behavior:
The window becomes focused again.
Actual behavior:
Focus does not change.
Is there any way I can achieve the desired behavior?