aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-26 18:10:57 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-27 21:41:08 +0200
commit871646d22522141c45db2c0bfa1528d595bb69df (patch)
treee01b7b16a50e4d0a19f14173946b4c756011cc52 /include/wlr
parent2f5ff450397714674aec9ffc09ba86989382fcfe (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 'include/wlr')
-rw-r--r--include/wlr/xwayland.h1
1 files changed, 0 insertions, 1 deletions
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 <time.h>
-#include <sys/types.h>
#include <stdbool.h>
#include <wlr/types/wlr_compositor.h>
#include <xcb/xcb.h>