News for hackers. Stuff that matters.
Re:i3 4.18 by paulddraper on Monday February 17, 2020 @03:01PM (#22350226)
i3 does this, but only if the window is on a different screen.

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.

Re:i3 4.18 by abjKT26nO8 on Monday February 17, 2020 @05:21PM (#22351441)
> 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>