mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-23 05:15:58 +01:00
Merge pull request #1164 from emersion/fix-xwayland
Revert "rootston: Reap child processes"
This commit is contained in:
commit
e67cb8c07c
1 changed files with 0 additions and 6 deletions
|
@ -1,6 +1,5 @@
|
||||||
#define _POSIX_C_SOURCE 200112L
|
#define _POSIX_C_SOURCE 200112L
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <signal.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
|
@ -16,11 +15,6 @@
|
||||||
struct roots_server server = { 0 };
|
struct roots_server server = { 0 };
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {
|
|
||||||
wlr_log_errno(WLR_ERROR, "Unable to install SIGCHLD handler");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
wlr_log_init(WLR_DEBUG, NULL);
|
wlr_log_init(WLR_DEBUG, NULL);
|
||||||
server.config = roots_config_create_from_args(argc, argv);
|
server.config = roots_config_create_from_args(argc, argv);
|
||||||
server.wl_display = wl_display_create();
|
server.wl_display = wl_display_create();
|
||||||
|
|
Loading…
Reference in a new issue