aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-04-23 19:37:28 +0200
committerChristoph Lohmann <20h@r-36.net>2013-04-23 19:37:28 +0200
commit6b03bb769a105f797bce40aa0258cf035266e7bf (patch)
tree4d7a86c77fade6e1decd0ecf9da4c73452ed3c3d
parentdb6f796ecfafcee879613b60a772be3e5d9e355e (diff)
downloadst-6b03bb769a105f797bce40aa0258cf035266e7bf.tar.gz
st-6b03bb769a105f797bce40aa0258cf035266e7bf.zip
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 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) {
2853 2853
2854 /* Clean up the region we want to draw to. */ 2854 /* Clean up the region we want to draw to. */
2855 XftDrawRect(xw.draw, bg, winx, winy, width, xw.ch); 2855 XftDrawRect(xw.draw, bg, winx, winy, width, xw.ch);
2856
2857 /* Set the clip region because Xft is sometimes dirty. */
2856 r.x = 0; 2858 r.x = 0;
2857 r.y = 0; 2859 r.y = 0;
2858 r.height = xw.ch; 2860 r.height = xw.ch;