summaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2024-12-07 14:33:12 +0000
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-03-31 18:31:28 +0100
commit2acec1e83ca3c3a0b2ade0b11ba48873afcf7341 (patch)
treee41c4e39b323f43228d74189a9784995bb3be7d8 /drw.c
parent506971f46867ad00011161adf7495e7e2d680b20 (diff)
fix transparent borders
Diffstat (limited to 'drw.c')
-rw-r--r--drw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drw.c b/drw.c
index a58a2b4..927db1f 100644
--- a/drw.c
+++ b/drw.c
@@ -190,6 +190,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