feat: use pointer-constraints to contraint pointer once mouse is down
Open
- Dominant language
- C
- Stars
- 1.3k
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
When selecting a region, I sometimes move the mouse cursor onto another screen by moving past the screen's edge. This is especially common when trying to capture a border or corner of the screen.
The pointer-constraints protocol is usable to prevent this from happening: once the mouse button is pressed, prevent the mouse from moving onto other screens, since doing so produces bogus values.
Contributor guide
Assessment
This issue has not been assessed yet.