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.348 by sf-exg, Thu Jan 20 16:41:23 2011 UTC vs.
Revision 1.349 by sf-exg, Thu Jan 27 17:37:19 2011 UTC

226 delete fontset[i]; 226 delete fontset[i];
227#endif 227#endif
228 delete fontset[0]; 228 delete fontset[0];
229 229
230#ifdef HAVE_BG_PIXMAP 230#ifdef HAVE_BG_PIXMAP
231 bgPixmap.destroy (); 231 bg_destroy ();
232#endif 232#endif
233#ifdef HAVE_AFTERIMAGE 233#ifdef HAVE_AFTERIMAGE
234 if (asv) 234 if (asv)
235 destroy_asvisual (asv, 0); 235 destroy_asvisual (asv, 0);
236 if (asimman) 236 if (asimman)
1082 XMoveResizeWindow (dpy, vt, 1082 XMoveResizeWindow (dpy, vt,
1083 window_vt_x, window_vt_y, 1083 window_vt_x, window_vt_y,
1084 width, height); 1084 width, height);
1085 1085
1086#ifdef HAVE_BG_PIXMAP 1086#ifdef HAVE_BG_PIXMAP
1087 if (bgPixmap.window_size_sensitive ()) 1087 if (bg_window_size_sensitive ())
1088 update_background (); 1088 update_background ();
1089#endif 1089#endif
1090 } 1090 }
1091 1091
1092 if (fix_screen || old_height == 0) 1092 if (fix_screen || old_height == 0)
1662rxvt_term::update_background () 1662rxvt_term::update_background ()
1663{ 1663{
1664 if (update_background_ev.is_active ()) 1664 if (update_background_ev.is_active ())
1665 return; 1665 return;
1666 1666
1667 bgPixmap.invalidate (); 1667 bg_invalidate ();
1668 1668
1669 ev_tstamp to_wait = 0.5 - (ev::now () - bgPixmap.valid_since); 1669 ev_tstamp to_wait = 0.5 - (ev::now () - bg_valid_since);
1670 1670
1671 if (to_wait <= 0.) 1671 if (to_wait <= 0.)
1672 bgPixmap.render (); 1672 bg_render ();
1673 else 1673 else
1674 update_background_ev.start (to_wait); 1674 update_background_ev.start (to_wait);
1675} 1675}
1676 1676
1677void 1677void
1678rxvt_term::update_background_cb (ev::timer &w, int revents) 1678rxvt_term::update_background_cb (ev::timer &w, int revents)
1679{ 1679{
1680 make_current (); 1680 make_current ();
1681 1681
1682 update_background_ev.stop (); 1682 update_background_ev.stop ();
1683 bgPixmap.render (); 1683 bg_render ();
1684 refresh_check (); 1684 refresh_check ();
1685} 1685}
1686 1686
1687#endif /* HAVE_BG_PIXMAP */ 1687#endif /* HAVE_BG_PIXMAP */
1688 1688

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines