… | |
… | |
1399 | back_rendered = true; |
1399 | back_rendered = true; |
1400 | } |
1400 | } |
1401 | } |
1401 | } |
1402 | #endif |
1402 | #endif |
1403 | |
1403 | |
1404 | if (bg >= 0 && !back_rendered) |
1404 | if (!back_rendered) |
1405 | XftDrawRect (d2, &term->pix_colors[bg].c, 0, 0, w, h); |
1405 | XftDrawRect (d2, &term->pix_colors[bg < 0 ? Color_bg : bg].c, 0, 0, w, h); |
1406 | |
1406 | |
1407 | XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc); |
1407 | XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc); |
1408 | XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y); |
1408 | XCopyArea (disp, d2, d, gc, 0, 0, w, h, x, y); |
1409 | } |
1409 | } |
1410 | else |
1410 | else |