From 8c2c13983b113c28b3eb910f93ef10913752d37e Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Wed, 28 Apr 2021 19:25:36 +0200 Subject: [PATCH] Fix --- src/drw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drw.c b/src/drw.c index 4cdbcbe..cd899f8 100644 --- a/src/drw.c +++ b/src/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