Introduction
Introduction Statistics Contact Development Disclaimer Help
dwm-fixborders-6.2.diff - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
dwm-fixborders-6.2.diff (811B)
---
1 From 1529909466206016f2101457bbf37c67195714c8 Mon Sep 17 00:00:00 2001
2 From: Jakub Leszczak <[email protected]>
3 Date: Fri, 22 Nov 2019 10:46:53 +0800
4 Subject: [PATCH] Fix transparent borders
5
6 When terminal has transparency then its borders also become transparent.
7 Fix it by removing transparency from any pixels drawn.
8 ---
9 drw.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12 diff --git a/drw.c b/drw.c
13 index 8fd1ca4..490a592 100644
14 --- a/drw.c
15 +++ b/drw.c
16 @@ -202,6 +202,8 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrn…
17 DefaultColormap(drw->dpy, drw->screen),
18 clrname, dest))
19 die("error, cannot allocate color '%s'", clrname);
20 +
21 + dest->pixel |= 0xff << 24;
22 }
23
24 /* Wrapper to create color schemes. The caller has to call free(3) on t…
25 --
26 2.26.2
27
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.