--- rxvt-unicode/src/main.C 2007/12/14 02:22:24 1.282 +++ rxvt-unicode/src/main.C 2007/12/14 06:32:38 1.285 @@ -187,7 +187,6 @@ bell_ev.set (this); #endif child_ev.set (this); - prepare_ev.set (this); flush_ev.set (this); destroy_ev.set (this); pty_ev.set (this); @@ -354,7 +353,7 @@ vt_ev.stop (display); } - prepare_ev.stop (); + flush_ev.stop (); pty_ev.stop (); #ifdef CURSOR_BLINK cursor_blink_ev.stop (); @@ -572,8 +571,6 @@ if (pty->pty >= 0) pty_ev.start (pty->pty, ev::READ); - prepare_ev.start (); - HOOK_INVOKE ((this, HOOK_START, DT_END)); #if ENABLE_XEMBED @@ -1763,7 +1760,7 @@ { update_background_ev.stop (); - if (!bgPixmap.need_client_side_rendering()) + if (!bgPixmap.need_client_side_rendering ()) update_background_ev.start (.05); else if (bgPixmap.flags & bgPixmap_t::blurNeeded) update_background_ev.start (.20); /* very slow !!! */ @@ -1777,7 +1774,9 @@ void rxvt_term::update_background_cb (ev::timer &w, int revents) { + make_current (); bgPixmap.render (); + refresh_check (); } #endif /* HAVE_BG_PIXMAP */