diff options
author | 2020-11-05 04:08:10 +0100 | |
---|---|---|
committer | 2020-11-05 04:09:40 +0100 | |
commit | 6619fab0441ac0770bd95f5c69e80289bc323d0d (patch) | |
tree | 8625f34a4d83ae20201f8420c233c4e11add91ff /winit | |
parent | 88993fb092fb0391ea42ffd725f680d1c98c95d7 (diff) | |
download | iced-6619fab0441ac0770bd95f5c69e80289bc323d0d.tar.gz iced-6619fab0441ac0770bd95f5c69e80289bc323d0d.tar.bz2 iced-6619fab0441ac0770bd95f5c69e80289bc323d0d.zip |
Update `iced_glutin` with new event loop logic
Diffstat (limited to 'winit')
-rw-r--r-- | winit/src/application.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs index 96438d73..07108249 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -145,6 +145,7 @@ where let (application, init_command) = { let flags = settings.flags; + runtime.enter(|| A::new(flags)) }; @@ -408,8 +409,6 @@ pub fn requests_exit( } } -/// Handles a `WindowEvent` and mutates the keyboard modifiers, viewport, and -/// resized flag accordingly. fn build_user_interface<'a, A: Application>( application: &'a mut A, cache: Cache, |