dotfiles/.config/suckless/dwm-6.5/patches/transparentborder.diff

13 lines
427 B
Diff

diff --git a/drw.c b/drw.c
index a58a2b4..16e3862 100644
--- a/drw.c
+++ b/drw.c
@@ -190,6 +190,7 @@ 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