diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2023-11-13 22:54:36 +0100 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2023-11-13 22:54:36 +0100 |
| commit | c50ed9c7e7b251e4c09e462fb93a3b0f9615195e (patch) | |
| tree | f6625ed77b43ed3e10d27dccdf0ec06827de67e1 /deps | |
| parent | 69b61602cfa8ee5afd2a03748005e17eebeb6919 (diff) | |
| download | river-c50ed9c7e7b251e4c09e462fb93a3b0f9615195e.tar.gz river-c50ed9c7e7b251e4c09e462fb93a3b0f9615195e.tar.xz | |
Cursor: clamp cursor movement to resize bounds
Currently resizing a window allows moving the invisible "internal"
cursor infinitely far off screen despite the fact that the window is
bounded by the size constraints of the client and by the output
dimensions. This means that attempting to resize past these bounds in
one dimension will result in the "internal" cursor being far out of
bounds and will require an equal movement in the opposite direction in
order to continue resizing.
Exposing this implementation detail of an invisible "internal" cursor
separate from the rendered cursor is of course bad, so clamp it to the
bounds of the resize.
Diffstat (limited to 'deps')
0 files changed, 0 insertions, 0 deletions
