From 871646d22522141c45db2c0bfa1528d595bb69df Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Sat, 26 Aug 2017 18:10:57 +0200 Subject: 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. --- include/wlr/xwayland.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index 804e9962..a0fb34ce 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -1,7 +1,6 @@ #ifndef _WLR_XWAYLAND_H #define _WLR_XWAYLAND_H #include -#include #include #include #include -- cgit v1.2.3