borders red and non-transparent

This commit is contained in:
Luke Smith 2020-05-08 13:12:08 -04:00
parent 771df89d28
commit 0f3f2a46e4
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 3 additions and 1 deletions

View file

@ -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 */

2
drw.c
View file

@ -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