{
rxvt_drawable &d2 = d.screen->scratch_drawable (w, h);
-#if defined(XPM_BACKGROUND) || defined(TRANSPARENT)
- if (bg < 0 && term->am_pixmap_trans)
+ if (0)
+ ;
+#ifdef TRANSPARENT
+ else if (bg < 0 && term->am_pixmap_trans)
XCopyArea (disp, term->pixmap, d2, gc,
x + term->window_vt_x, y + term->window_vt_y,
w, h, 0, 0);
+#endif
+#ifdef XPM_BACKGROUND
else if (bg < 0 && term->bgPixmap.pixmap)
{
XGCValues gcv;
XFreeGC (disp, gc2);
}
- else
#endif
+ else
XftDrawRect (d2, &term->pix_colors[bg].c, 0, 0, w, h);
XftDrawGlyphSpec (d2, &term->pix_colors[fg].c, f, enc, ep - enc);