diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2023-11-06 13:10:59 +0100 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2023-11-06 13:14:16 +0100 |
| commit | 18a440b6063db07604fa8626fda893cc77d841dc (patch) | |
| tree | 8754b5f848626ef78b54c462b67c3bdaa5d39559 /doc | |
| parent | 642f9b7ae0b5fd55d7b677640f9df1e1f6bc4a42 (diff) | |
| download | river-18a440b6063db07604fa8626fda893cc77d841dc.tar.gz river-18a440b6063db07604fa8626fda893cc77d841dc.tar.xz | |
pointer-constraints: fix assertion failure
It is possible for the assertion in PointerConstraint.confine() to fail
if a view with an active pointer constraint is, for example, resized
using a keybinding such that the pointer is outside the constraint
region.
Handle this edge case by deactivating the constraint. The other option
would be to warp the pointer to the nearest point still inside the
constraint region. Deactivating the constraint is far simpler however
and I don't expect this to be a UX pain point.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
