Skip to content

Commit

Permalink
seat: send axis_stop events after axis events
Browse files Browse the repository at this point in the history
fixes #6090
  • Loading branch information
vaxerski committed May 15, 2024
1 parent 9eec4cb commit 7e8c0b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/managers/SeatManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 7e8c0b7

Please sign in to comment.