From 90eda7edbf41149d9b99e80bf74417b1ba398433 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Mon, 15 Nov 2010 14:00:31 +0100 Subject: [PATCH] own_window and own_window_transparent should default to yes without option --- src/conky.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index b41ae170..158fe563 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -3533,9 +3533,7 @@ char load_config_file(const char *f) #ifdef BUILD_X11 #ifdef OWN_WINDOW CONF("own_window") { - if (value) { - own_window = string_to_bool(value); - } + own_window = string_to_bool(value); } CONF("own_window_class") { if (value) { @@ -3551,9 +3549,7 @@ char load_config_file(const char *f) } } CONF("own_window_transparent") { - if (value) { - set_transparent = string_to_bool(value); - } + set_transparent = string_to_bool(value); } CONF("own_window_hints") { if (value) {