slock

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3f2ac9baec092def7ca42772a007253936b4feec
parent e5e04272d1bc7b0f39a942d99cac3ab78bbf9859
Author: bakkeby <bakkeby@gmail.com>
Date:   Mon, 13 Sep 2021 15:40:10 +0200

dwmlogo: avoid defining BACKGROUND colour if BLUR_PIXELATED_SCREEN_PATCH is enabled ref. #5

Diffstat:
Mconfig.def.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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] },