diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-04-23 19:37:28 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-04-23 19:37:28 +0200 |
commit | 6b03bb769a105f797bce40aa0258cf035266e7bf (patch) | |
tree | 4d7a86c77fade6e1decd0ecf9da4c73452ed3c3d /st.c | |
parent | db6f796ecfafcee879613b60a772be3e5d9e355e (diff) | |
download | st-6b03bb769a105f797bce40aa0258cf035266e7bf.tar.gz |
Now clipping is more clear.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |