Explorar o código

Now clipping is more clear.

Christoph Lohmann %!s(int64=12) %!d(string=hai) anos
pai
achega
6b03bb769a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      st.c

+ 2 - 0
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;