winit/src/platform_impl/web/event_loop
Ryan G fd946feac4
Web backend refactor and documentation (#1415)
The current implementation of the event loop runner has some significant
problems. It can't handle multiple events being emitted at once (for
example, when a keyboard event causes a key input, a text input, and a
modifier change.) It's also relatively easy to introduce bugs for the
different possible control flow states.

The new model separates intentionally emitting a NewEvents (poll
completed, wait completed, init) and emitting a normal event, as well as
providing a method for emitting multiple events in a single call.
2020-01-25 19:04:03 -05:00
..
mod.rs Implement hidpi for web platform (#1233) 2020-01-05 14:15:11 -05:00
proxy.rs Have EventLoopClosed contain the original event (#1294) 2019-12-07 10:22:03 -07:00
runner.rs Web backend refactor and documentation (#1415) 2020-01-25 19:04:03 -05:00
state.rs Implement web_sys::Canvas event listeners 2019-06-25 18:07:47 +02:00
window_target.rs Fix warnings on all platforms (#1383) 2020-01-09 22:29:31 -07:00