--- rxvt-unicode/src/command.C 2011/01/27 17:37:19 1.473 +++ rxvt-unicode/src/command.C 2011/01/28 00:08:58 1.474 @@ -977,9 +977,9 @@ flush_ev.stop (); #ifdef HAVE_BG_PIXMAP - if (bg_flags & hasChanged) + if (bg_flags & BG_NEEDS_REFRESH) { - bg_flags &= ~hasChanged; + bg_flags &= ~BG_NEEDS_REFRESH; scr_touch (false); } #endif @@ -1466,7 +1466,7 @@ get_window_origin (x, y); if (bg_set_position (x, y) - || !(bg_flags & isValid)) + || !(bg_flags & BG_IS_VALID)) moved = true; } #endif @@ -1528,7 +1528,7 @@ * We should render background PRIOR to drawing any text, but AFTER all * of ConfigureNotifys for the best results. */ - if (!(bg_flags & isValid)) + if (!(bg_flags & BG_IS_VALID)) update_background_ev.start (0.025); #endif mapped = 1;