Fix transparent borders

When terminal has transparency then its borders also become transparent.
Fix it by removing transparency from any pixels drawn.
This commit is contained in:
Jakub Leszczak
2019-11-22 10:46:53 +08:00
committed by Zoe Roux
parent 8e60d3b876
commit 99d53db8c7

2
drw.c
View File

@@ -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