Skip to content

xwayland: give Xwayland its own session

Derek Foreman requested to merge derekf/weston:you_get_a_setsid into main

If we leave xwayland in weston's process group, it can receive signals from the controlling TTY intended for weston.

The easiest way to see this is to launch weston under gdb, start an X client, and hit ctrl-c in the gdb session. The Xwayland server will also catch the SIGINT, and the X client will be disconnected.

Instead, let's call setsid() when launching Xwayland, like we do for launched clients.

Signed-off-by: Derek Foreman derek.foreman@collabora.com

Merge request reports

Loading