… | |
… | |
1274 | int w = term->fwidth * len; |
1274 | int w = term->fwidth * len; |
1275 | int h = term->fheight; |
1275 | int h = term->fheight; |
1276 | |
1276 | |
1277 | bool buffered = bg >= 0 // we don't use a transparent bg |
1277 | bool buffered = bg >= 0 // we don't use a transparent bg |
1278 | #ifndef FORCE_UNBUFFERED_XFT |
1278 | #ifndef FORCE_UNBUFFERED_XFT |
1279 | # if defined(XPM_BACKGROUND) || defined(TRANSPARENT) |
1279 | # ifdef ENABLE_TRANSPARENCY |
1280 | || !term->am_transparent // we aren't transparent |
1280 | || !term->am_transparent // we aren't transparent |
1281 | || term->am_pixmap_trans // we have a pixmap |
|
|
1282 | # endif |
1281 | # endif |
1283 | #endif |
1282 | #endif |
1284 | ; |
1283 | ; |
1285 | |
1284 | |
1286 | // cut trailing spaces |
1285 | // cut trailing spaces |
… | |
… | |
1322 | { |
1321 | { |
1323 | rxvt_drawable &d2 = d.screen->scratch_drawable (w, h); |
1322 | rxvt_drawable &d2 = d.screen->scratch_drawable (w, h); |
1324 | |
1323 | |
1325 | if (0) |
1324 | if (0) |
1326 | ; |
1325 | ; |
1327 | #ifdef TRANSPARENT |
1326 | #ifdef ENABLE_TRANSPARENCY |
1328 | else if (bg < 0 && term->am_pixmap_trans) |
1327 | else if (bg < 0 && term->am_pixmap_trans) |
1329 | XCopyArea (disp, term->pixmap, d2, gc, |
1328 | XCopyArea (disp, term->pixmap, d2, gc, |
1330 | x + term->window_vt_x, y + term->window_vt_y, |
1329 | x + term->window_vt_x, y + term->window_vt_y, |
1331 | w, h, 0, 0); |
1330 | w, h, 0, 0); |
1332 | #endif |
1331 | #endif |