winit/src/platform_impl/apple
Mads Marquart 4d2a0dd2b3
iOS: Never queue application-level events (#3905)
Events like `resumed`, `new_events`, `about_to_wait`, and so on will
never happen as a result of programmer action, so we'll never need to
queue those. This allows us to remove the need for the old `Event`
struct in the iOS backend.

Furthermore, we can now remove `InUserCallback`, since that state is
already stored inside `EventHandler`.

I've tried to otherwise keep the semantics as close to the original by
calling `handle_nonuser_events(mtm, [])`, which flushes pending events.
2024-12-03 19:53:29 +01:00
..
appkit macOS: Fix crash when pressing Caps Lock (#4024) 2024-12-03 18:48:23 +01:00
uikit iOS: Never queue application-level events (#3905) 2024-12-03 19:53:29 +01:00
event_handler.rs iOS: Never queue application-level events (#3905) 2024-12-03 19:53:29 +01:00
mod.rs chore: remove platform FingerId 2024-11-02 17:10:32 +03:00
notification_center.rs Allow the user to register the application delegate on macOS and iOS (#3758) 2024-08-11 23:14:18 +02:00