seat: send axis_stop events after axis events

fixes #6090
This commit is contained in:
Vaxry 2024-05-15 23:13:45 +01:00
parent 9eec4cb670
commit 7e8c0b7f30
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}
}