diff options
author | Julian T <julian@jtle.dk> | 2020-10-02 18:33:44 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-10-02 18:33:44 +0200 |
commit | 0bcc8c3d227d0772fca18bf2eb5acfe866e1ac0f (patch) | |
tree | 13947f69f4ecd7b76a9812cfc771192fd818c542 /drw.c | |
parent | ddb4e26d1868f1f1dd1569ee796e2e8c5b931f99 (diff) |
Diffstat (limited to 'drw.c')
-rw-r--r-- | drw.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |