diff --git a/winit/src/lib.rs b/winit/src/lib.rs index 006b6609..7df52e8d 100644 --- a/winit/src/lib.rs +++ b/winit/src/lib.rs @@ -882,12 +882,7 @@ async fn run_instance
( // Defer all window actions to avoid compositor // race conditions while redrawing if let Action::Window(_) = action { - runtime.run( - futures::futures::stream::once( - async move { action }, - ) - .boxed(), - ); + proxy.send_action(action); continue; }