winit/src
John Nunley 3d4c53459a
On X11, filter out tiny device 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.

Fix it by filtering absolute values smaller than floating point epsilon.

Signed-off-by: John Nunley <dev@notgull.net>
Closes: #3500
2024-03-01 13:11:28 +04:00
..
platform Bump version on master 2024-02-28 22:54:37 +04:00
platform_impl On X11, filter out tiny device mouse events 2024-03-01 13:11:28 +04:00
cursor.rs Create custom cursor with directly with event loop 2024-02-21 14:44:29 +04:00
error.rs Remove EventLoopError::AlreadyRunning 2024-01-29 22:06:03 +04:00
event.rs Split dpi module out into a separate crate (#3518) 2024-02-26 14:52:00 +01:00
event_loop.rs Create custom cursor with directly with event loop 2024-02-21 14:44:29 +04:00
icon.rs Fix infinite recursion in BadIcon reporting (#3237) 2023-11-23 19:15:17 +01:00
keyboard.rs Fix various typos 2024-02-19 08:58:44 +04:00
lib.rs Fix feature = "cargo-clippy" deprecation 2024-02-28 21:50:05 +04:00
monitor.rs Split dpi module out into a separate crate (#3518) 2024-02-26 14:52:00 +01:00
utils.rs m: Remove once_cell dependency 2024-02-25 08:19:27 -08:00
window.rs Split dpi module out into a separate crate (#3518) 2024-02-26 14:52:00 +01:00