diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-04 12:10:17 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-10 10:49:35 +0300 |
| commit | df9466243504a00240f7048a1f9644cb002776a8 (patch) | |
| tree | 4b0bf61e03631dccf371016d8ace359036d3dca1 /src/input/scroll_tracker.rs | |
| parent | 430b155929a60644ea223012ee0c1389fc5e3755 (diff) | |
| download | niri-df9466243504a00240f7048a1f9644cb002776a8.tar.gz niri-df9466243504a00240f7048a1f9644cb002776a8.tar.bz2 niri-df9466243504a00240f7048a1f9644cb002776a8.zip | |
layout: Take into account idle time between last gesture event and end
Fixes cases like: do a quick movement with mouse, then hold it in-place for a
while (no events generated), then release the gesture (it uses all that
built-up speed). This also happens with DnD scroll and makes it go further than
intended.
Diffstat (limited to 'src/input/scroll_tracker.rs')
0 files changed, 0 insertions, 0 deletions
