x11:wayland: fix pump_events blocking with Wait

Using `Duration::Zero` with `Wait` polling mode was still blocking until
the event was actually delivered. Thus when `pump_events` API is used,
ensure that it's not happening.

Fixes #4130.
This commit is contained in:
Kirill Chibisov
2025-03-17 13:20:17 +03:00
parent c591089ece
commit c6cfa048b0
3 changed files with 6 additions and 1 deletions

View File

@@ -48,3 +48,4 @@ changelog entry.
- On Windows, fixed ~500 ms pause when clicking the title bar during continuous redraw.
- On macos, `WindowExtMacOS::set_simple_fullscreen` now honors `WindowExtMacOS::set_borderless_game`
- On X11 and Wayland, fixed pump_events with `Some(Duration::Zero)` blocking with `Wait` polling mode