Commit 6b03bb7

Christoph Lohmann <20h@r-36.net>
2013-04-23 13:37:28
Now clipping is more clear.
1 parent db6f796
Changed files (1)
st.c
@@ -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;