Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Add an option to shrink window "hitboxes" for follow mouse

Open vaxerski opened this issue 7 months ago • 2 comments

Discussion link

https://github.com/hyprwm/Hyprland/discussions/9884

Description

Currently, we use the window's "ideal" box (aka the layout box, including gaps, etc) for tracing follows_mouse.

For some users, that might be undesirable, as the focus switch could be quite aggressive.

Add an option to shrink those boxes by a set amount of layout pixels.

vaxerski avatar Apr 07 '25 10:04 vaxerski

if we shrink the box wouldn't that also prevent clicks / interactions in the areas where the box doesn't stretch to?

ghost avatar Apr 09 '25 19:04 ghost

yes, until it's focused, of course.

vaxerski avatar Apr 12 '25 01:04 vaxerski