doh
authorroot <root>
Wed, 23 Jan 2008 15:00:21 +0000 (15:00 +0000)
committerroot <root>
Wed, 23 Jan 2008 15:00:21 +0000 (15:00 +0000)
src/rxvtfont.C

index fdaeb2ffa54833d4126c06d8ef28cb24ebcdd658..b69815b52572fabba7d9cf27012c3e2f3afc6788 100644 (file)
@@ -1395,7 +1395,7 @@ rxvt_font_xft::draw (rxvt_drawable &d, int x, int y,
             }
           else
 #endif
-            clear_rect (d2, 0, 0, w, h, bg);
+            XftDrawRect (d2, &term->pix_colors[bg >= 0 ? bg : Color_bg].c, 0, 0, w, h);
 
           XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc);
           XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y);