summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drw.c b/drw.c
index ced7d37..8a7bb35 100644
--- a/drw.c
+++ b/drw.c
@@ -203,6 +203,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