commit 62736bf43a528f472dd01c87fa1d4ac247e07043
parent 1e18b85e56d98ca2daeb7adc587c28f5d653a01f
Author: sin <sin@2f30.org>
Date: Tue, 3 Nov 2015 17:48:39 +0000
Ignore SIGINT to allow returning back to noice when we kill the screensaver
Use 'q' to quit.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/noice.c b/noice.c
@@ -918,6 +918,8 @@ main(int argc, char *argv[])
ipath = "/";
}
+ signal(SIGINT, SIG_IGN);
+
/* Test initial path */
if (canopendir(ipath) == 0)
printerr(1, ipath);