summaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-10-02 18:33:44 +0200
committerJulian T <julian@jtle.dk>2020-10-02 18:33:44 +0200
commit0bcc8c3d227d0772fca18bf2eb5acfe866e1ac0f (patch)
tree13947f69f4ecd7b76a9812cfc771192fd818c542 /drw.c
parentddb4e26d1868f1f1dd1569ee796e2e8c5b931f99 (diff)
Finished configHEADmaster
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drw.c b/drw.c
index 8fd1ca4..cb78d63 100644
--- a/drw.c
+++ b/drw.c
@@ -202,6 +202,9 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrname)
DefaultColormap(drw->dpy, drw->screen),
clrname, dest))
die("error, cannot allocate color '%s'", clrname);
+
+ // PATCHED: write 1 to alpha bytes
+ dest->pixel |= 0xff << 24;
}
/* Wrapper to create color schemes. The caller has to call free(3) on the