From 3f2ac9baec092def7ca42772a007253936b4feec Mon Sep 17 00:00:00 2001 From: bakkeby Date: Mon, 13 Sep 2021 15:40:10 +0200 Subject: [PATCH] dwmlogo: avoid defining BACKGROUND colour if BLUR_PIXELATED_SCREEN_PATCH is enabled ref. #5 --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 3aa40135641d2469a52bcf54e49981bfa240666d..2d19321b165b604fc58cfead45b59c600216f3ac 100644 --- a/config.def.h +++ b/config.def.h @@ -3,7 +3,7 @@ static const char *user = "nobody"; static const char *group = "nogroup"; // use "nobody" for arch static const char *colorname[NUMCOLS] = { - #if DWM_LOGO_PATCH + #if DWM_LOGO_PATCH && !BLUR_PIXELATED_SCREEN_PATCH [BACKGROUND] = "#2d2d2d", /* after initialization */ #endif // DWM_LOGO_PATCH [INIT] = "black", /* after initialization */ @@ -56,7 +56,7 @@ static XRectangle rectangles[] = { * Xresources preferences to load at startup */ ResourcePref resources[] = { - #if DWM_LOGO_PATCH + #if DWM_LOGO_PATCH && !BLUR_PIXELATED_SCREEN_PATCH { "color2", STRING, &colorname[BACKGROUND] }, #endif //DWM_LOGO_PATCH { "color0", STRING, &colorname[INIT] },