June 22, 2026
9:24 a.m.
On Mon Jun 22 09:23:49 2026 +0000, Rémi Bernon wrote:
I don't know whether system threads can be used, but in any case we don't have the winewayland dispatch thread spawned at this point anyway. What about doing something like: ``` while (wl_display_dispatch_queue_timeout( process_wayland.wl_display, process_wayland.wl_event_queue, &timeout ) != -1) if (process_wayland.initialized) break; ``` The system thread support itself should be ready. I tried to switch to using it in winewayland but unfortunately it seems it will need a redesign of the clipboard support first, since clipboard access causes it to dispatch messages on the system thread.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11203#note_143828