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 | |
| parent | db6f796ecfafcee879613b60a772be3e5d9e355e (diff) | |
| download | st-6b03bb769a105f797bce40aa0258cf035266e7bf.tar.gz st-6b03bb769a105f797bce40aa0258cf035266e7bf.zip | |
Now clipping is more clear.
| -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) { | |||
| 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; |
