aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorLibravatar David Rosca <nowrep@gmail.com>2021-08-05 06:26:34 +0200
committerLibravatar Tudor Brindus <vulcainus@gmail.com>2021-08-05 09:26:11 -0400
commitd0fe721fbbfbbdced91b94889c863c68c33c8125 (patch)
tree9659dec4949f0e5d3a3be5d865adccde3b80cd8d /include/sway/tree/view.h
parentman: update Pango font description URL (diff)
downloadsway-d0fe721fbbfbbdced91b94889c863c68c33c8125.tar.gz
sway-d0fe721fbbfbbdced91b94889c863c68c33c8125.tar.zst
sway-d0fe721fbbfbbdced91b94889c863c68c33c8125.zip
seatop_down: Change type of sx, sy to double in begin_seatop_down
Losing the precision resulted in wlr_cursor and wlr_seat::pointer_state getting out of sync during pointer motion in seatop_down. Since the difference was always under 1 px, it was practically impossible to notice in normal use. But because of being out of sync, cursor_rebase would always end up incorrectly calling wlr_seat_pointer_notify_motion from seatop_default_begin (on releasing mouse button) which broke cursor locking. See #5405 Closes #4632
Diffstat (limited to 'include/sway/tree/view.h')
0 files changed, 0 insertions, 0 deletions