summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2022-06-15 12:50:24 -0500
committerGitHub <noreply@github.com>2022-06-15 12:50:24 -0500
commit3121e15ad07c041fa8fc4b8f81f7c19eb6d05f45 (patch)
tree06463ac402cac37f649673091ac7547312ad890e
parent03233ed168f767787870e903f154d0eb60d7c88d (diff)
fix transparent borders
-rw-r--r--drw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drw.c b/drw.c
index ced7d37..c9308d0 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