diff --git a/src/platform_impl/windows/event_loop.rs b/src/platform_impl/windows/event_loop.rs index 6d5f9d44a5..91d044a3ec 100644 --- a/src/platform_impl/windows/event_loop.rs +++ b/src/platform_impl/windows/event_loop.rs @@ -2538,7 +2538,9 @@ unsafe extern "system" fn thread_event_target_callback( } } } - userdata.event_loop_runner.poll(); + if !userdata.event_loop_runner.should_buffer() { + userdata.event_loop_runner.poll(); + } 0 } _ => DefWindowProcW(window, msg, wparam, lparam),