aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/render
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-07 13:37:00 +0000
committermarha <marha@users.sourceforge.net>2009-10-07 13:37:00 +0000
commit1aef314becdc3e84d62a52329824b66ba414b975 (patch)
tree77883475438e8e942f83899a948f4b5fae2eb65e /xorg-server/render
parent8b65e52b40031453a0a089970e4c13d7d29e837d (diff)
downloadvcxsrv-1aef314becdc3e84d62a52329824b66ba414b975.tar.gz
vcxsrv-1aef314becdc3e84d62a52329824b66ba414b975.tar.bz2
vcxsrv-1aef314becdc3e84d62a52329824b66ba414b975.zip
Fixed miClipPictureSrc
Diffstat (limited to 'xorg-server/render')
-rw-r--r--xorg-server/render/mipict.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xorg-server/render/mipict.c b/xorg-server/render/mipict.c
index 30dd2c80f..3dc04a88a 100644
--- a/xorg-server/render/mipict.c
+++ b/xorg-server/render/mipict.c
@@ -318,14 +318,14 @@ miClipPictureSrc (RegionPtr pRegion,
Bool result;
pixman_region_translate ( pPicture->clientClip,
- pPicture->clipOrigin.x - dx,
- pPicture->clipOrigin.y - dy);
+ pPicture->clipOrigin.x + dx,
+ pPicture->clipOrigin.y + dy);
result = REGION_INTERSECT (pScreen, pRegion, pRegion, pPicture->clientClip);
pixman_region_translate ( pPicture->clientClip,
- - (pPicture->clipOrigin.x - dx),
- - (pPicture->clipOrigin.y - dy));
+ - (pPicture->clipOrigin.x + dx),
+ - (pPicture->clipOrigin.y + dy));
if (!result)
return FALSE;