repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: c9732d5512cca1b94383d9204ce7e210af5e8a60: path_to: revision_to:
commit c9732d5512cca1b94383d9204ce7e210af5e8a60 Author: Emanuele GiaquintaDate: Fri Jun 8 10:28:30 2012 +0000 Set pad repeat on the source picture rather than on the destination picture in blur. diff --git a/src/rxvtimg.C b/src/rxvtimg.C
--- a/src/rxvtimg.C +++ b/src/rxvtimg.C @@ -267,11 +267,10 @@ rxvt_img::blur (int rh, int rv) rxvt_img *img = new rxvt_img (s, format, x, y, w, h, repeat); img->alloc (); - Picture src = src_picture (); - XRenderPictureAttributes pa; pa.repeat = RepeatPad; - Picture dst = XRenderCreatePicture (dpy, img->pm, format, CPRepeat, &pa); + Picture src = XRenderCreatePicture (dpy, pm, format, CPRepeat, &pa); + Picture dst = XRenderCreatePicture (dpy, img->pm, format, 0, 0); Pixmap tmp_pm = XCreatePixmap (dpy, pm, w, h, format->depth); Picture tmp = XRenderCreatePicture (dpy, tmp_pm , format, CPRepeat, &pa);
-----END OF PAGE-----