mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 16:35:46 +01:00
Now clipping is more clear.
This commit is contained in:
parent
db6f796ecf
commit
6b03bb769a
1 changed files with 2 additions and 0 deletions
2
st.c
2
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;
|
||||
|
|
Loading…
Reference in a new issue