From 0f3f2a46e4e75615c6a73544ef91225a2888400a Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 8 May 2020 13:12:08 -0400 Subject: [PATCH] borders red and non-transparent --- config.h | 2 +- drw.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index 658c6c3..adf2552 100644 --- a/config.h +++ b/config.h @@ -17,7 +17,7 @@ static char normbgcolor[] = "#222222"; static char normbordercolor[] = "#444444"; static char normfgcolor[] = "#bbbbbb"; static char selfgcolor[] = "#eeeeee"; -static char selbordercolor[] = "#005577"; +static char selbordercolor[] = "#770000"; static char selbgcolor[] = "#005577"; static char *colors[][3] = { /* fg bg border */ diff --git a/drw.c b/drw.c index 0eb8fe5..9617d84 100644 --- a/drw.c +++ b/drw.c @@ -189,6 +189,8 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrname) DefaultColormap(drw->dpy, drw->screen), clrname, dest)) die("error, cannot allocate color '%s'", clrname); + + dest->pixel |= 0xff << 24; } /* Wrapper to create color schemes. The caller has to call free(3) on the