From 789617d5ad3f4d7019e3086d515aa44f111dd0d8 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 21 May 2020 20:17:29 +0200 Subject: term: don't double fork new terminal windows Instead, register their PIDs with the new reaper module and let it handle them. --- server.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server.h') diff --git a/server.h b/server.h index a5f34071..55a031b4 100644 --- a/server.h +++ b/server.h @@ -5,5 +5,6 @@ #include "wayland.h" struct server; -struct server *server_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl); +struct server *server_init(const struct config *conf, struct fdm *fdm, + struct reaper *reaper, struct wayland *wayl); void server_destroy(struct server *server); -- cgit v1.3