term: don't double fork new terminal windows

Instead, register their PIDs with the new reaper module and let it
handle them.
This commit is contained in:
Daniel Eklöf 2020-05-21 20:17:29 +02:00
parent f49742ebba
commit 789617d5ad
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 62 additions and 60 deletions

View file

@ -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);