This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Description
I'm implementing support for SIGCHLD in Cage to exit when the primary client either exits without spawning a window or when it crashes.
I already have support for SIGINT and SIGTERM for which I just call wl_display_terminate, which works fine.
When I now call wl_display_terminate upon receiving SIGCHLD, Cage seems to get stuck somewhere (I suspect in rendering) and I have to close the Wayland backend's window for Cage to get unstuck.
I've raised this issue on IRC where @ascent12 mentioned it's likely a wlroots bug, hence this issue. You can view the branch here. The reason I suspect Cage gets stuck in rendering is because I had to fix a segfault in that code, see cage-kiosk/cage@86c5d57 in that branch. I'm testing this against wlroots 0.10.0.
Let me know if there's anything else I can provide of if you need me to try something.
wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2012