Skip to content

x11:wayland: fix pump_events blocking with Wait#4168

Merged
kchibisov merged 2 commits into
masterfrom
kchibisov/fix-wayland-pump-wakeup
Mar 17, 2025
Merged

x11:wayland: fix pump_events blocking with Wait#4168
kchibisov merged 2 commits into
masterfrom
kchibisov/fix-wayland-pump-wakeup

Conversation

@kchibisov
Copy link
Copy Markdown
Member

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.

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.
@kchibisov kchibisov requested a review from notgull as a code owner March 17, 2025 09:54
@kchibisov kchibisov merged commit a4ab7dc into master Mar 17, 2025
@kchibisov kchibisov deleted the kchibisov/fix-wayland-pump-wakeup branch March 17, 2025 10:20
@madsmtm madsmtm added this to the Version 0.30.10 milestone Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

pump_events blocks with timout set to 0 in wayland

2 participants