From 53e94bb79e689bcd1db8363ab2071640692810aa Mon Sep 17 00:00:00 2001 From: root Date: Fri, 17 Mar 2006 18:29:29 +0000 Subject: [PATCH] *** empty log message *** --- src/rxvtfont.C | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/rxvtfont.C b/src/rxvtfont.C index cd820071..e59f0ad0 100644 --- a/src/rxvtfont.C +++ b/src/rxvtfont.C @@ -1324,11 +1324,15 @@ rxvt_font_xft::draw (rxvt_drawable &d, int x, int y, { 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; @@ -1346,8 +1350,8 @@ rxvt_font_xft::draw (rxvt_drawable &d, int x, int y, 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); -- 2.34.1