summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-07-26 20:38:35 +0000
committerFrederic Culot <calcurse@culot.org>2009-07-26 20:38:35 +0000
commit279c564d2bb60747e56089658f66e848b7e88f55 (patch)
tree2e2ebfe0d40c6fa58ab9121164bce535614406a9 /src/calcurse.c
parentbccd37ef968dc07c2e3435123deba3e541662e0c (diff)
downloadcalcurse-279c564d2bb60747e56089658f66e848b7e88f55.zip
Stop daemon when calcurse enters interactive mode.
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-xsrc/calcurse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 0352e5d..051008d 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.84 2009/07/19 16:51:36 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.85 2009/07/26 20:38:35 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -53,6 +53,7 @@
#include "args.h"
#include "notify.h"
#include "keys.h"
+#include "dmon.h"
/*
* Calcurse is a text-based personal organizer which helps keeping track
@@ -101,6 +102,7 @@ main (int argc, char **argv)
else
{
no_data_file = io_check_data_files ();
+ dmon_stop ();
io_set_lock ();
}