From 98ad061b2951465d9514a8486f95e9b87ff49bc9 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Mon, 25 Jun 2012 18:29:48 +0200 Subject: [PATCH] read idle_threshold from dunstrc this probably got lost during the recent iniparser -> inih changes. --- dunst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dunst.c b/dunst.c index afc70fa..f51179b 100644 --- a/dunst.c +++ b/dunst.c @@ -973,6 +973,8 @@ dunst_ini_handle(void *user_data, const char *section, key_string = dunst_ini_get_string(value); else if (strcmp(name, "history_key") == 0) history_key_string = dunst_ini_get_string(value); + else if (strcmp(name, "idle_threshold") == 0) + idle_threshold = atoi(value); else if (strcmp(name, "geometry") == 0) { geom = dunst_ini_get_string(value); geometry.mask = XParseGeometry(geom,