aboutsummaryrefslogtreecommitdiff
path: root/protocol/wlr-foreign-toplevel-management-unstable-v1.xml
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2022-03-27 19:07:25 +0200
committerJosé Expósito <jose.exposito89@gmail.com>2022-07-11 11:01:35 +0200
commitadd44b3e2e4ff7ef98b16813fb3c9e1d8b398008 (patch)
tree41a2c86b63c2983ec43a2357936dfbf56590c88e /protocol/wlr-foreign-toplevel-management-unstable-v1.xml
parent40dc5121aa4cc76ed9a6ededd6ff56570c1a2e40 (diff)
seat: support low-resolution clients
When the client doesn't support high-resolution scroll, accumulate deltas until we can notify a discrete event. Some mice have a free spinning wheel, making possible to lock the wheel when the accumulator value is not 0. To avoid synchronization issues between the mouse wheel and the accumulators, store the last delta and when the scroll direction changes, reset the accumulator.
Diffstat (limited to 'protocol/wlr-foreign-toplevel-management-unstable-v1.xml')
0 files changed, 0 insertions, 0 deletions