projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2de6252
)
improve transparency without render a bit again
author
root
<root>
Wed, 23 Jan 2008 14:18:19 +0000
(14:18 +0000)
committer
root
<root>
Wed, 23 Jan 2008 14:18:19 +0000
(14:18 +0000)
src/rxvtfont.C
patch
|
blob
|
history
diff --git
a/src/rxvtfont.C
b/src/rxvtfont.C
index
5abee98
..
3ec4fe3
100644
(file)
--- a/
src/rxvtfont.C
+++ b/
src/rxvtfont.C
@@
-1396,7
+1396,7
@@
rxvt_font_xft::draw (rxvt_drawable &d, int x, int y,
}
else
#endif
-
XftDrawRect (d2, &term->pix_colors[bg == Color_transparent ? Color_bg : bg].c, 0, 0, w, h
);
+
clear_rect (d, x, y, w, h, bg
);
XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc);
XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y);