--- rxvt-unicode/src/rxvtfont.C 2008/01/23 14:09:21 1.139 +++ rxvt-unicode/src/rxvtfont.C 2008/01/23 14:18:19 1.140 @@ -1396,7 +1396,7 @@ } 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);