--- rxvt-unicode/src/screen.C 2007/06/26 00:40:19 1.270 +++ rxvt-unicode/src/screen.C 2007/08/03 22:40:10 1.271 @@ -1650,7 +1650,7 @@ rvideo_state = on; ::swap (pix_colors[Color_fg], pix_colors[Color_bg]); -#if XPM_BACKGROUND +#ifdef HAVE_BG_PIXMAP if (bgPixmap.pixmap == None) #endif #if ENABLE_TRANSPARENCY @@ -2007,7 +2007,7 @@ have_bg = 0; refresh_count = 0; -#if XPM_BACKGROUND +#ifdef HAVE_BG_PIXMAP have_bg |= bgPixmap.pixmap != None; #endif #if ENABLE_TRANSPARENCY @@ -2487,7 +2487,7 @@ #if ENABLE_TRANSPARENCY && !am_transparent #endif -#if XPM_BACKGROUND +#ifdef HAVE_BG_PIXMAP && !bgPixmap.pixmap #endif )