windows: Coalesce wake-up events

This commit is contained in:
Mads Marquart
2025-02-27 06:06:38 +01:00
parent 488c036a05
commit fd5e29f9d9
4 changed files with 28 additions and 17 deletions

View File

@@ -140,12 +140,6 @@ impl EventLoopProxy {
///
/// [`proxy_wake_up`]: crate::application::ApplicationHandler::proxy_wake_up
/// [`ApplicationHandler::proxy_wake_up()`]: crate::application::ApplicationHandler::proxy_wake_up
///
/// # Platform-specific
///
/// - **Windows**: The wake-up may be ignored under high contention, see [#3687].
///
/// [#3687]: https://github.com/rust-windowing/winit/pull/3687
pub fn wake_up(&self) {
self.proxy.wake_up();
}