This repository was archived by the owner on Nov 1, 2021. It is now read-only.
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
xwayland: can get stuck in xcb_flush #2502
Open
Description
If the send queue for the X11 socket is full, xcb_flush will block. To reproduce:
- Start Stacraft II
- Put it in an inactive workspace
- Wait ~30minutes
- Re-focus the game
I had Sway stuck in a XWM's xcb_flush call this way.
Not sure why the queue was full, or what the best solution to this would be. Wayland clients just get disconnected when this happens.
Maybe polling for POLLOUT could help.
wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2502