]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: do not clamp motion coordinates for xdg-shell surfaces
authorJohan Malm <jgm323@gmail.com>
Tue, 16 Aug 2022 20:56:39 +0000 (21:56 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Wed, 17 Aug 2022 12:03:38 +0000 (14:03 +0200)
commitf19645aa25737a30115354b025b37fb970e479e9
treeb554daad4e328e0b5467fecb21d8afe5d0d1defd
parent921c877f797c545713a7af7a880a4e9b9f6bed9b
cursor: do not clamp motion coordinates for xdg-shell surfaces

...when pointer moves off the xdg-shell surface which is possible when
for example grabbing a scroll-bar or selecting text.

Clamping results in undetected pointer motion when applied in the
direction of movement (for example clamping at view->y masks vertical
movement when the y-coordinate is greater than view->y), which in turn
can appear as sporadic to the end-user.
src/cursor.c