FocusFollowMouse - bakkeby/dusk GitHub Wiki

By default when closing a window, moving a window out of view or changing workspace the client that most recently had focus will receive focus.

For some users this behaviour can be unintuitive and possibly cause mistakes to be made due to the focus going to a seemingly random window.

The FocusFollowMouse functionality, if enabled, gives precedence to the window beneath the mouse cursor when selecting the window that should receive focus next.

The main purpose of this is to give a more predictable behaviour for mouse driven users. The effect is that when the user kills or closes a window then the window that ends up beneath the mouse cursor after tiles have been rearranged will receive focus.

Likewise when moving between workspaces the window that ends up beneath the mouse cursor will be the one that receives focus.

This behaviour is more intuitive as the window that gets focus will always be the one under the mouse cursor.

Similarly to the warp functionality if the user let the cursor rest on the bar then the window manager will fall back to selecting the window that last had focus (as normal).

Back to Functionality.

⚠️ **GitHub.com Fallback** ⚠️