summaryrefslogtreecommitdiffstats
path: root/winit
diff options
context:
space:
mode:
authorLibravatar Bingus <shankern@protonmail.com>2023-01-18 15:17:20 -0800
committerLibravatar Bingus <shankern@protonmail.com>2023-01-18 15:18:45 -0800
commit7e9a12a4aa64deda193dfc0f18c34f93e3adc852 (patch)
tree79320938fccf0032227895085b3ab062a85bdbd8 /winit
parent70d487ba20a50c06c73f0ffcd8198f1a7eac7f37 (diff)
downloadiced-7e9a12a4aa64deda193dfc0f18c34f93e3adc852.tar.gz
iced-7e9a12a4aa64deda193dfc0f18c34f93e3adc852.tar.bz2
iced-7e9a12a4aa64deda193dfc0f18c34f93e3adc852.zip
New iced changes
Diffstat (limited to '')
-rw-r--r--winit/src/application.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs
index c66e08b2..d586fd21 100644
--- a/winit/src/application.rs
+++ b/winit/src/application.rs
@@ -402,6 +402,7 @@ async fn run_instance<A, E, C>(
// Then, we can use the `interface_state` here to decide if a redraw
// is needed right away, or simply wait until a specific time.
let redraw_event = Event::Window(
+ crate::window::Id::MAIN,
crate::window::Event::RedrawRequested(Instant::now()),
);