Fix grabbing when source x or y is < 0.

SVN revision: 10054
This commit is contained in:
Kim Woelders 2004-05-04 22:05:28 +00:00
parent 9fc4c72e42
commit 5da073fb0b
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ __imlib_GrabDrawableToRGBA(DATA32 * data, int ox, int oy, int ow, int oh,
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 */