tNow clipping is more clear. - st - [fork] customized build of st, the simple t… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6b03bb769a105f797bce40aa0258cf035266e7bf | |
parent db6f796ecfafcee879613b60a772be3e5d9e355e | |
Author: Christoph Lohmann <[email protected]> | |
Date: Tue, 23 Apr 2013 19:37:28 +0200 | |
Now clipping is more clear. | |
Diffstat: | |
M st.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -2853,6 +2853,8 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, i… | |
/* Clean up the region we want to draw to. */ | |
XftDrawRect(xw.draw, bg, winx, winy, width, xw.ch); | |
+ | |
+ /* Set the clip region because Xft is sometimes dirty. */ | |
r.x = 0; | |
r.y = 0; | |
r.height = xw.ch; |