Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix(x11): Filter out tiny mouse events
Usually, if mouse events are equal to (0, 0) we filter them out. However, if the event is very close to zero it will still be given to the user. In some cases this can be caused by bad float math on the X11 server side. I fix this by refusing to forward events where both of their deltas fall below a certain threshold. Closes #3500 Signed-off-by: John Nunley <[email protected]>
- Loading branch information