--- rxvt-unicode/src/rxvtimg.C 2012/06/07 08:36:53 1.35 +++ rxvt-unicode/src/rxvtimg.C 2012/06/07 09:25:23 1.37 @@ -116,9 +116,6 @@ pa.repeat = repeat; Picture pic = XRenderCreatePicture (dpy, pm, format, CPRepeat, &pa); - XRectangle clip = { -x, -y, min (w, ref->w), min (h, ref->h) }; - XRenderSetPictureClipRectangles (dpy, pic, 0, 0, &clip, 1); - return pic; } @@ -423,12 +420,16 @@ { rxvt_img *img = clone (); - //TODO: width > w, must reify - img->x += x; img->y += y; - img->w = width; - img->h = height; + + if (w != width || h != height) + { + img->w = width; + img->h = height; + + img->reify (); + } return img; }