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

Comparing rxvt-unicode/src/rxvtimg.C (file contents):
Revision 1.19 by root, Tue Jun 5 13:39:26 2012 UTC vs.
Revision 1.20 by root, Tue Jun 5 14:07:47 2012 UTC

315 rxvt_img *img = new rxvt_img (s, format, w, h); 315 rxvt_img *img = new rxvt_img (s, format, w, h);
316 316
317 GC gc = XCreateGC (s->display->dpy, pm, 0, 0); 317 GC gc = XCreateGC (s->display->dpy, pm, 0, 0);
318 XCopyArea (s->display->dpy, pm, img->pm, gc, 0, 0, w, h, 0, 0); 318 XCopyArea (s->display->dpy, pm, img->pm, gc, 0, 0, w, h, 0, 0);
319 XFreeGC (s->display->dpy, gc); 319 XFreeGC (s->display->dpy, gc);
320
321 return img;
320} 322}
321 323
322rxvt_img * 324rxvt_img *
323rxvt_img::sub_rect (int x, int y, int width, int height, int repeat) 325rxvt_img::sub_rect (int x, int y, int width, int height, int repeat)
324{ 326{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines