diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-05-15 23:13:45 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-05-15 23:13:51 +0100 |
| commit | 7e8c0b7f30817e0fc217ef769d4be7d406fa2374 (patch) | |
| tree | 0e0581d1c41a5186e0dd6396bd3d3285cd266491 /src/managers/SeatManager.cpp | |
| parent | 9eec4cb670f815c794a56005fd77020d34b6899d (diff) | |
seat: send axis_stop events after axis events
fixes #6090
Diffstat (limited to 'src/managers/SeatManager.cpp')
| -rw-r--r-- | src/managers/SeatManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/SeatManager.cpp b/src/managers/SeatManager.cpp index 360b5088..2c7bfe39 100644 --- a/src/managers/SeatManager.cpp +++ b/src/managers/SeatManager.cpp @@ -297,6 +297,9 @@ void CSeatManager::sendPointerAxis(uint32_t timeMs, wl_pointer_axis axis, double p->sendAxis(timeMs, axis, value); p->sendAxisSource(source); p->sendAxisRelativeDirection(axis, relative); + + if (value == 0) + p->sendAxisStop(timeMs, axis); } } |
