From 6b03bb769a105f797bce40aa0258cf035266e7bf Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Tue, 23 Apr 2013 19:37:28 +0200 Subject: [PATCH] Now clipping is more clear. --- st.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1