… | |
… | |
1324 | { |
1324 | { |
1325 | rxvt_drawable &d2 = d.screen->scratch_drawable (w, h); |
1325 | rxvt_drawable &d2 = d.screen->scratch_drawable (w, h); |
1326 | |
1326 | |
1327 | #if defined(XPM_BACKGROUND) || defined(TRANSPARENT) |
1327 | #if defined(XPM_BACKGROUND) || defined(TRANSPARENT) |
1328 | if (bg < 0 && term->am_pixmap_trans) |
1328 | if (bg < 0 && term->am_pixmap_trans) |
1329 | XCopyArea (disp, term->pixmap, d2, gc, x, y, w, h, 0, 0); |
1329 | XCopyArea (disp, term->pixmap, d2, gc, |
|
|
1330 | x + term->window_vt_x, y + term->window_vt_y, |
|
|
1331 | w, h, 0, 0); |
1330 | else if (bg < 0 && term->bgPixmap.pixmap) |
1332 | else if (bg < 0 && term->bgPixmap.pixmap) |
1331 | { |
1333 | { |
1332 | XGCValues gcv; |
1334 | XGCValues gcv; |
1333 | |
1335 | |
1334 | gcv.fill_style = FillTiled; |
1336 | gcv.fill_style = FillTiled; |