diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-26 18:10:57 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-27 21:41:08 +0200 |
commit | 871646d22522141c45db2c0bfa1528d595bb69df (patch) | |
tree | e01b7b16a50e4d0a19f14173946b4c756011cc52 /xwayland/sockets.c | |
parent | 2f5ff450397714674aec9ffc09ba86989382fcfe (diff) |
Double-fork for xwayland execution
The intermediate fork needs to wait for SIGUSR1 for when Xserver is
ready, or SIGCHLD if the exec didn't work out.
Also change the exit() to _exit() as that is apparently more appropriate
for forks (and waitpid's status was wrong without it for some reason)
Fixes #122.
Diffstat (limited to 'xwayland/sockets.c')
0 files changed, 0 insertions, 0 deletions