From: root Date: Wed, 23 Jan 2008 14:18:19 +0000 (+0000) Subject: improve transparency without render a bit again X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=a71645ba037decbebfc98b8e5ac19cc062508af9;p=dana%2Furxvt.git improve transparency without render a bit again --- diff --git a/src/rxvtfont.C b/src/rxvtfont.C index 5abee98d..3ec4fe34 100644 --- 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);