aboutsummaryrefslogtreecommitdiff
path: root/drw.c
diff options
context:
space:
mode:
authorc2024-01-12 09:06:19 -0500
committerc2024-01-12 09:06:19 -0500
commit05e2bf7b62eb9fe04d104d4a87dbe61c85546b43 (patch)
tree1c9d5c713ec51c1fe1f74afd4bdd40c221b57521 /drw.c
parent5f6eff938bcf9c1ef32ad6b5749766fc7cbc1751 (diff)
I'm sure it was something important.
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 19353aa..ed38f54 100644
--- a/drw.c
+++ b/drw.c
@@ -124,6 +124,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; /* Remove transparency for pixels on window borders. */
}
/* Wrapper to create color schemes. The caller has to call free(3) on the