winit/src
Kirill Chibisov c8c1eca3c7 api: move primary from FingerId to Pointer events
Whether the pointer event is primary or not generally matters for the
context where all input is done by the same event, so users can
_ignore_ non-primary events since they are likely from users clicking
something else with their other fingers.

Having it only on a FingerId made it useless, since it's usually used
to avoid multi-touch, but if you start mapping on touch event you
already can track things like that yourself.

Fixes #3943.

Co-authored-by: daxpedda <daxpedda@gmail.com>
2024-11-02 17:10:32 +03:00
..
changelog api: move primary from FingerId to Pointer events 2024-11-02 17:10:32 +03:00
platform api: move primary from FingerId to Pointer events 2024-11-02 17:10:32 +03:00
platform_impl api: move primary from FingerId to Pointer events 2024-11-02 17:10:32 +03:00
application.rs macOS: add a way to hook standard keybinding events 2024-10-23 08:33:42 +00:00
cursor.rs api: convert Window to dyn Window 2024-08-23 23:40:27 +03:00
error.rs api: unify error handling 2024-09-06 17:20:11 +03:00
event.rs api: move primary from FingerId to Pointer events 2024-11-02 17:10:32 +03:00
event_loop.rs docs: fix function name of with_any_thread 2024-10-13 21:34:11 +03:00
icon.rs Implement common Std traits on many types (#3796) 2024-08-08 00:46:28 +02:00
keyboard.rs Implement common Std traits on many types (#3796) 2024-08-08 00:46:28 +02:00
lib.rs docs: Explicitly demarcate platform support 2024-09-19 17:09:10 -07:00
monitor.rs Rename "inner size" to "surface size" (#3889) 2024-09-04 15:04:48 +02:00
utils.rs chore: use our own AsAny to provide &dyn Any 2024-08-11 21:24:34 +03:00
window.rs chore: remove platform WindowId's 2024-10-08 16:29:40 +03:00