wayland: ensure external loop is notified with pump_events

Spawn a thread when pump_events is used, so the external thread will
get woken-up correctly. This only happens when timeout was given.

Fixes #4183.
This commit is contained in:
Kirill Chibisov 2025-04-29 11:43:36 +09:00 committed by GitHub
parent ab96fa8395
commit c8579a1882
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 112 additions and 6 deletions

View file

@ -288,12 +288,12 @@ sctk = { package = "smithay-client-toolkit", version = "0.19.2", default-feature
"calloop",
], optional = true }
sctk-adwaita = { version = "0.10.1", default-features = false, optional = true }
wayland-backend = { version = "0.3.5", default-features = false, features = [
wayland-backend = { version = "0.3.9", default-features = false, features = [
"client_system",
], optional = true }
wayland-client = { version = "0.31.4", optional = true }
wayland-protocols = { version = "0.32.2", features = ["staging"], optional = true }
wayland-protocols-plasma = { version = "0.3.2", features = ["client"], optional = true }
wayland-client = { version = "0.31.8", optional = true }
wayland-protocols = { version = "0.32.6", features = ["staging"], optional = true }
wayland-protocols-plasma = { version = "0.3.4", features = ["client"], optional = true }
x11-dl = { version = "2.19.1", optional = true }
x11rb = { version = "0.13.0", default-features = false, features = [
"allow-unsafe-code",