… | |
… | |
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 | |
… | |
… | |
1683 | rxvt_term::update_background () |
1687 | rxvt_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 |