aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarrick Lo <warrick.s.z.lo@gmail.com>2021-11-26 02:37:32 -0800
committerWarrick Lo <warrick.s.z.lo@gmail.com>2021-11-26 02:37:32 -0800
commitf171ce48d5700bc4c8a7a7f666ec2b98dabb3d82 (patch)
treedc5d7d19c8d12fa0a24df571db98f31b1e6cd015
parentFix window borders showing while gaps are disabled (diff)
Fix transparent borders when using a compositorHEADmaster
-rw-r--r--drw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drw.c b/drw.c
index 4cdbcbe..cd899f8 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