summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-08 13:12:08 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-08 13:12:08 -0400
commit0f3f2a46e4e75615c6a73544ef91225a2888400a (patch)
tree416e4b32f8e25cb4d8089b00fd91b0269f70a68a
parent771df89d2812ed9ce746dc32a666344458abe4fd (diff)
borders red and non-transparent
-rw-r--r--config.h2
-rw-r--r--drw.c2
2 files changed, 3 insertions, 1 deletions
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