From: <enl...@li...> - 2004-05-04 22:05:35
|
Enlightenment CVS committal Author : kwo Project : e17 Module : libs/imlib2 Dir : e17/libs/imlib2/src Modified Files: grab.c Log Message: Fix grabbing when source x or y is < 0. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/grab.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- grab.c 20 Apr 2004 07:11:33 -0000 1.11 +++ grab.c 4 May 2004 22:05:28 -0000 1.12 @@ -699,7 +699,7 @@ btab[i] = cols[i].blue >> 8; } } - __imlib_GrabXImageToRGBA(data, ox, oy, ow, oh, + __imlib_GrabXImageToRGBA(data, ox + clipx, oy + clipy, ow, oh, d, xim, mxim, v, xatt.depth, x, y, w, h, 0); /* destroy the Ximage */ |