Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
BSD 3-Clause "New" or "Revised" License
17.88k
stars
752
forks
source link
Pointer constraints: Lock surface region when region is empty #6627
Closed
MariuszTrybus closed 6 days ago
Describe your PR, what does it fix/add?
Fixes https://github.com/hyprwm/Hyprland/issues/6292 and https://github.com/hyprwm/Hyprland/issues/5900 Currently Hyprland locks mouse cursor based on provided region and it does not work when it's not provided. The PR fallbacks to surface region in such cases.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
This is my first PR, I am not familiar with the codebase and wayland protocol
Is it ready for merging, or does it need work?
Ready