diff --git a/dunst.c b/dunst.c index 30e2a5e..bcea42f 100644 --- a/dunst.c +++ b/dunst.c @@ -71,7 +71,6 @@ typedef struct _x11_source { int height_limit; /* index of colors fit to urgency level */ -static ColorSet *colors[3]; static const char *color_strings[2][3]; static Atom utf8; static DC *dc; @@ -1120,10 +1119,6 @@ void x_setup(void) x_shortcut_grab(&context_ks); x_shortcut_ungrab(&context_ks); - colors[LOW] = initcolor(dc, lowfgcolor, lowbgcolor); - colors[NORM] = initcolor(dc, normfgcolor, normbgcolor); - colors[CRIT] = initcolor(dc, critfgcolor, critbgcolor); - color_strings[ColFG][LOW] = lowfgcolor; color_strings[ColFG][NORM] = normfgcolor; color_strings[ColFG][CRIT] = critfgcolor;