rust-windowing / winit

Window handling library in pure Rust
https://docs.rs/winit/
Apache License 2.0
4.76k stars 892 forks source link

Add `ActiveEventLoop::create_proxy()` #3764

Closed daxpedda closed 3 months ago

daxpedda commented 3 months ago

This PR adds ActiveEventLoop::create_proxy(), letting users create EventLoopProxy from inside the event loop. Internally I basically just moved backend::EventLoop::create_proxy() to backend::ActiveEventLoop::create_proxy().

Fixes #3741.

daxpedda commented 3 months ago

No changes, just force-pushed to jump-start the CI, some infrastructure failure from GitHub.