ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/main.C
(Generate patch)

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.384 by sf-exg, Sat Dec 29 14:23:35 2012 UTC vs.
Revision 1.387 by sf-exg, Sun Dec 30 15:38:04 2012 UTC

226 226
227#ifdef HAVE_BG_PIXMAP 227#ifdef HAVE_BG_PIXMAP
228 bg_destroy (); 228 bg_destroy ();
229#endif 229#endif
230 230
231#if HAVE_IMG
232 delete bg_img;
233#endif
234
231 if (display) 235 if (display)
232 { 236 {
233 selection_clear (); 237 selection_clear ();
234 selection_clear (true); 238 selection_clear (true);
235 239
1683rxvt_term::update_background () 1687rxvt_term::update_background ()
1684{ 1688{
1685 if (update_background_ev.is_active ()) 1689 if (update_background_ev.is_active ())
1686 return; 1690 return;
1687 1691
1688 bg_invalidate ();
1689
1690 if (!mapped)
1691 return;
1692
1693 ev_tstamp to_wait = 0.5 - (ev::now () - bg_valid_since); 1692 ev_tstamp to_wait = 0.5 - (ev::now () - bg_valid_since);
1694 1693
1695 if (to_wait <= 0.) 1694 if (to_wait <= 0.)
1696 bg_render (); 1695 bg_render ();
1697 else 1696 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines