Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Threshold for follow_mouse before it actually changes focus

Open uwidev opened this issue 9 months ago • 2 comments

Description

Sometimes when I'm just so excited to do some hardcore coding, I aggressively grip my keyboard and hammer away at the keys to switch window focus and type. Unfortunately, the shockwaves created from my power is too great that my mouse picks up its tremors. My mouse looks at me and tremble ever so slightly, resulting in the window focus changing over to where my cursor is at.

Translation: If you change focus with your keyboard to another window, and accidentally type too hard or lightly hit your desk, the mouse senses the vibration and moves, resulting in window focus changing.

Please have a threshold where the mouse must move a certain distance before changing focus to prevent accidental changes in window focus when not intended.

uwidev avatar Feb 05 '25 00:02 uwidev

one of the issues of all time.

MRs welcome

fwiw, there is that one option that will only refocus when you cross focus lines forgot the name

vaxerski avatar Feb 05 '25 22:02 vaxerski

would be great if this is impl also for mouse_move_enables_dpms

littleblack111 avatar Feb 17 '25 08:02 littleblack111

someone forgot to close this

ghost avatar Mar 06 '25 18:03 ghost