--- rxvt-unicode/src/rxvtimg.C 2012/06/07 08:36:09 1.34 +++ rxvt-unicode/src/rxvtimg.C 2012/06/07 08:36:53 1.35 @@ -399,12 +399,12 @@ rxvt_img * rxvt_img::reify () { + if (x == 0 && y == 0 && w == ref->w && h == ref->h) + return clone (); + rxvt_img *img = new rxvt_img (s, format, 0, 0, w, h); img->alloc (); - // todo, if x==0 and y==0 and w==real width we could clone - // but that involves an rtt to find pixmap width. - Display *dpy = s->display->dpy; Picture src = src_picture ();