From 04435790955e0671f512f7b180e7d8fadeb4ceff Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Mon, 12 Apr 2010 23:36:20 +0200 Subject: [PATCH] Bugfix: adding/removing use_xft in the config had no effect unless you restarted conky, reloading the config was not enough --- src/conky.c | 3 +++ src/x11.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/conky.c b/src/conky.c index 21850b5..7a2adad 100644 --- a/src/conky.c +++ b/src/conky.c @@ -4265,6 +4265,9 @@ static void set_default_configurations(void) output_methods = TO_STDOUT; #endif #ifdef X11 +#ifdef BUILD_XFT + use_xft = 0; +#endif show_graph_scale = 0; show_graph_range = 0; draw_shades = 1; diff --git a/src/x11.c b/src/x11.c index a64d5b5..a1ce8c0 100644 --- a/src/x11.c +++ b/src/x11.c @@ -44,7 +44,7 @@ #ifdef XFT #include -int use_xft = 0; +int use_xft; #endif #ifdef HAVE_XDBE -- 1.7.9.5