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. |
||
|---|---|---|
| .. | ||
| meson.build | ||
| sockets.c | ||
| sockets.h | ||
| xwayland.c | ||
| xwm.c | ||
| xwm.h | ||