ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtfont.C
(Generate patch)

Comparing rxvt-unicode/src/rxvtfont.C (file contents):
Revision 1.130 by root, Wed Jan 23 05:59:29 2008 UTC vs.
Revision 1.132 by root, Wed Jan 23 06:05:54 2008 UTC

1351 if (term->bgPixmap.pixmap) 1351 if (term->bgPixmap.pixmap)
1352 { 1352 {
1353 Picture dst = 0; 1353 Picture dst = 0;
1354 1354
1355 if (bg >= 0 && term->pix_colors[bg].is_opaque ()) 1355 if (bg >= 0 && term->pix_colors[bg].is_opaque ())
1356 XftDrawRect (d2, &term->pix_colors[bg].c, 0, 0, w, h);
1357 else
1356 dst = XftDrawPicture (d2); 1358 dst = XftDrawPicture (d2);
1357 1359
1358 if (dst) 1360 if (dst)
1359 { 1361 {
1360 int src_x = x, src_y = y; 1362 int src_x = x, src_y = y;
1399 back_rendered = true; 1401 back_rendered = true;
1400 } 1402 }
1401 } 1403 }
1402#endif 1404#endif
1403 1405
1404 if (bg >= 0 && !back_rendered) 1406 if (!back_rendered)
1405 XftDrawRect (d2, &term->pix_colors[bg].c, 0, 0, w, h); 1407 XftDrawRect (d2, &term->pix_colors[bg < 0 ? Color_bg : bg].c, 0, 0, w, h);
1406 1408
1407 XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc); 1409 XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc);
1408 XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y); 1410 XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y);
1409 } 1411 }
1410 else 1412 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines