Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronosWS committed Nov 12, 2023
1 parent c52db20 commit 816eb3c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/platform_impl/windows/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2538,7 +2538,9 @@ unsafe extern "system" fn thread_event_target_callback<T: 'static>(
}
}
}
userdata.event_loop_runner.poll();
if !userdata.event_loop_runner.should_buffer() {
userdata.event_loop_runner.poll();
}
0
}
_ => DefWindowProcW(window, msg, wparam, lparam),
Expand Down

0 comments on commit 816eb3c

Please sign in to comment.