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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.208 by sf-exg, Sat Dec 29 15:59:51 2012 UTC vs.
Revision 1.209 by sf-exg, Sun Dec 30 11:34:13 2012 UTC

2206#endif 2206#endif
2207 2207
2208void 2208void
2209rxvt_term::set_background (rxvt_img *img, bool border = false) 2209rxvt_term::set_background (rxvt_img *img, bool border = false)
2210 CODE: 2210 CODE:
2211#if HAVE_BG_PIXMAP 2211 delete bg_img;
2212 THIS->bg_destroy (); 2212 bg_img = 0;
2213#endif
2214 THIS->bg_flags &= ~(rxvt_term::BG_NEEDS_REFRESH | rxvt_term::BG_INHIBIT_RENDER | rxvt_term::BG_IS_TRANSPARENT); 2213 THIS->bg_flags &= ~(rxvt_term::BG_NEEDS_REFRESH | rxvt_term::BG_INHIBIT_RENDER | rxvt_term::BG_IS_TRANSPARENT);
2215 2214
2216 if (img) // TODO: cannot be false 2215 if (img) // TODO: cannot be false
2217 { 2216 {
2218 img = img->clone (); // own the img 2217 img = img->clone (); // own the img

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines