X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=7f53981f80cbd79a71f67f34505d1ea4175115d3;hp=f2ee12f4b61b4f22255fcdfbb59547d8f08e774e;hb=6b03bb769a105f797bce40aa0258cf035266e7bf;hpb=db6f796ecfafcee879613b60a772be3e5d9e355e diff --git a/st.c b/st.c index f2ee12f..7f53981 100644 --- a/st.c +++ b/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;