pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6f796
)
Now clipping is more clear.
author
Christoph Lohmann
<20h@r-36.net>
Tue, 23 Apr 2013 17:37:28 +0000
(19:37 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Tue, 23 Apr 2013 17:37:28 +0000
(19:37 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
f2ee12f
..
7f53981
100644
(file)
--- 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;