--- rxvt-unicode/src/rxvtimg.C 2012/06/07 09:25:23 1.37 +++ rxvt-unicode/src/rxvtimg.C 2012/06/07 10:19:23 1.39 @@ -428,7 +428,9 @@ img->w = width; img->h = height; - img->reify (); + rxvt_img *img2 = img->reify (); + delete img; + img = img2; } return img; @@ -529,7 +531,7 @@ { rxvt_img *img2 = clone (); Display *dpy = s->display->dpy; - Picture src = src_picture (); + Picture src = img->src_picture (); Picture dst = XRenderCreatePicture (dpy, img2->pm, img2->format, 0, 0); Picture mask = create_xrender_mask (dpy, img->pm, False);