aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lohmann2013-04-23 19:37:28 +0200
committerChristoph Lohmann2013-04-23 19:37:28 +0200
commitda0256301447221a5c576d21f587cf000764802d (patch)
tree475edd1c3af34b0bc6153f7f3ee90de61ec767b7
parent79427ef36bfb8b692f0acda9b7ea2e41325a98d0 (diff)
downloadaur-da0256301447221a5c576d21f587cf000764802d.tar.gz
Now clipping is more clear.
-rw-r--r--st.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index f2ee12f4b61b..7f53981f80cb 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;