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

This commit is contained in:
bakkeby 2021-09-13 15:40:10 +02:00
parent e5e04272d1
commit 3f2ac9baec

View File

@ -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] },