aboutsummaryrefslogtreecommitdiff
path: root/server.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-21 18:17:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-21 18:17:29 +0000
commit789617d5ad3f4d7019e3086d515aa44f111dd0d8 (patch)
treecfbc1ccb4af025a3ee60046a411332c63cc6fdf3 /server.h
parentreaper: new module, uses a signalfd to wait() on child processes (diff)
term: don't double fork new terminal windows
Instead, register their PIDs with the new reaper module and let it handle them.
Diffstat (limited to 'server.h')
-rw-r--r--server.h3
1 files changed, 2 insertions, 1 deletions
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);