diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -21,6 +21,7 @@ #include "config.h" #include "fdm.h" +#include "reaper.h" #include "render.h" #include "server.h" #include "shm.h" @@ -353,6 +354,7 @@ main(int argc, char *const *argv) conf.hold_at_exit = hold; struct fdm *fdm = NULL; + struct reaper *reaper = NULL; struct wayland *wayl = NULL; struct renderer *renderer = NULL; struct terminal *term = NULL; @@ -378,6 +380,9 @@ main(int argc, char *const *argv) if ((fdm = fdm_init()) == NULL) goto out; + if ((reaper = reaper_init(fdm)) == NULL) + goto out; + if ((wayl = wayl_init(&conf, fdm)) == NULL) goto out; @@ -429,6 +434,7 @@ out: shm_fini(); render_destroy(renderer); wayl_destroy(wayl); + reaper_destroy(reaper); fdm_destroy(fdm); config_free(conf); |
