summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 433d0ce..d6b9f31 100644
--- a/main.c
+++ b/main.c
@@ -178,7 +178,9 @@ int main(int argc, char *argv[])
XFlush(x_dpy); // Flush X11 queue before blocking in the event loop
- signal(SIGINT, )
+ signal(SIGINT, signal_func);
+ signal(SIGTERM, signal_func);
+
g_debug("Server running");
g_main_loop_run(main_loop);