Open emilazy opened 4 years ago
This is a pet peeve of mine, in my experience focus-follow-mouse/sloppy-mouse never worked on anything with virtual-display/workspaces, i.e. any mechanism that can open a window under the mouse pointer can create problems.
I don't recall the details and never investigated how it's done on Wayland, but would it be possible at the extension level to get the "mouse entered window" event (enter notify?), calculate if the mouse is moving and give focus to the window only in this case? I remember that ten or more years ago I hacked a plugin for the Sawfish WM and I covered nearly all the corner cases, but I suspect that nowadays I would need to hack Mutter to get something similar... \<__\<
Whenever the cursor hovers over a window, causing it to focus, PaperWM treats it as a full raise and jerks its position on the screen, making focus-follows-mouse for keyboard usage awkward.