3 ms·
i3 does this, but only if the window is on a different screen. https://i3wm.org/docs/userguide.html#_mouse_warping https://i3wm.org/docs/userguide.html#_mouse_
by paulddraper 7y ago
i3 does this, but only if the window is on a different screen.
https://i3wm.org/docs/userguide.html#_mouse_warping https://i3wm.org/docs/userguide.html#_mouse_warping
> By default, when switching focus to a window on a different output (e.g. focusing a window on workspace 3 on output VGA-1, coming from workspace 2 on LVDS-1), the mouse cursor is warped to the center of that window.
> With the mouse_warping option, you can control when the mouse cursor should be warped. none disables warping entirely, whereas output is the default behavior described above.
I agree that would be nice, though I've never really minded; If I'm gonna touch the mouse, I'm gonna touch the mouse.
- abjKT26nO8 7y ago> I agree that would be nice, though I've never really minded; If I'm gonna touch the mouse, I'm gonna touch the mouse. My problem is that my table isn't perfectly stable, so when I type, my mouse moves on its own by microscopic distances. When I'm in the middle of typing, the results range from mildly annoying to infuriating, depending on how a random application handles given input. I've just found this video describing a solution (writing a minimal script): <https://www.youtube.com/watch?v=7QeZkq88jTw> https://www.youtube.com/watch?v=7QeZkq88jTw>