--- rxvt-unicode/src/rxvtperl.xs 2012/12/28 21:19:21 1.207 +++ rxvt-unicode/src/rxvtperl.xs 2012/12/29 15:59:51 1.208 @@ -2205,12 +2205,12 @@ #endif -#if HAVE_BG_PIXMAP - void rxvt_term::set_background (rxvt_img *img, bool border = false) CODE: +#if HAVE_BG_PIXMAP THIS->bg_destroy (); +#endif THIS->bg_flags &= ~(rxvt_term::BG_NEEDS_REFRESH | rxvt_term::BG_INHIBIT_RENDER | rxvt_term::BG_IS_TRANSPARENT); if (img) // TODO: cannot be false @@ -2239,8 +2239,6 @@ #endif -#endif - ############################################################################# # urxvt::overlay #############################################################################