Skip to content
Commit c79e1126 authored by Derek Foreman's avatar Derek Foreman Committed by Pekka Paalanen
Browse files

xwayland: give Xwayland its own session



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.

Suggested-by: default avatarHideyuki Nagase <hideyukn@microsoft.com>
Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent 53f895b4
Loading
Loading
Loading
Pipeline #641990 passed with stages
in 3 minutes and 16 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment