[hackers] [st] Now clipping is more clear. || Christoph Lohmann
commit 6b03bb769a105f797bce40aa0258cf035266e7bf
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Tue Apr 23 19:37:28 2013 +0200
Now clipping is more clear.
diff --git a/st.c b/st.c
index f2ee12f..7f53981 100644
--- a/st.c
+++ b/st.c
_AT_@ -2853,6 +2853,8 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
/* 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;
Received on Tue Apr 23 2013 - 19:39:17 CEST
This archive was generated by hypermail 2.3.0
: Tue Apr 23 2013 - 19:48:09 CEST