Files
winit/winit-appkit/src
Mads Marquart 9efc50a262 AppKit: Launch app inside EventLoop::new
This moves the application launch from the beginning of
`EventLoop::run_app` to `EventLoop::new`, which:
- Feels more consistent, we now emit `new_events(StartCause::Init)` at
  the beginning of `run_app_on_demand` instead of conditionally
  depending on if the application has launched or not.
- Would allow us to bring back `event_loop.create_window` in some form
  on macOS, since the application would now be launched between
  `EventLoop::new` and `EventLoop::run_app`.

This differs semantically from iOS where we must still launch the
application in `EventLoop::run_app`, but iOS is the special snowflake
here, the other desktop platforms' are semantically launched after
`EventLoop::new`.

Doing it this way also matches what GLFW's init function does.
2026-03-19 01:47:39 +01:00
..
2026-03-18 22:55:47 +01:00
2025-11-01 21:00:39 +09:00
2025-10-20 00:01:36 +09:00
2025-10-20 00:01:36 +09:00