From 45d86ccff78c7281ab511833eaa4c0d5a5a9cf9a Mon Sep 17 00:00:00 2001 From: Andreas Fink Date: Mon, 28 Jun 2010 10:34:06 +0000 Subject: [PATCH] *fix* do not multiply max_tick_urgent by 2 because the user should decide whether to end up in the casual state or the urgent state --- src/config.c | 2 +- src/panel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index 1175660..22d6f6f 100644 --- a/src/config.c +++ b/src/config.c @@ -279,7 +279,7 @@ void add_entry (char *key, char *value) else if (strcmp (key, "panel_dock") == 0) panel_dock = atoi (value); else if (strcmp (key, "urgent_nb_of_blink") == 0) - max_tick_urgent = (atoi (value) * 2) + 1; + max_tick_urgent = atoi (value); else if (strcmp (key, "panel_layer") == 0) { if (strcmp(value, "bottom") == 0) panel_layer = BOTTOM_LAYER; diff --git a/src/panel.c b/src/panel.c index c8c945e..6e7051c 100644 --- a/src/panel.c +++ b/src/panel.c @@ -87,7 +87,7 @@ void default_panel() panel_dock = 0; // default not in the dock panel_layer = BOTTOM_LAYER; // default is bottom layer wm_menu = 0; - max_tick_urgent = 7; + max_tick_urgent = 14; backgrounds = g_array_new(0, 0, sizeof(Background)); memset(&panel_config, 0, sizeof(Panel)); -- 2.45.2