summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-09-20 16:57:53 -0700
committerJay Sorg <jay.sorg@gmail.com>2014-09-20 16:57:53 -0700
commitaf0463ca525b3fe36b3d101b40a3a439399cbf53 (patch)
treedd9638aeb3b8c6cb05438da10df98757b4e15976
parent9269bb2f10dc282105ce9ab5e12dcebabb5b717d (diff)
downloadxrdp-proprietary-af0463ca525b3fe36b3d101b40a3a439399cbf53.tar.gz
xrdp-proprietary-af0463ca525b3fe36b3d101b40a3a439399cbf53.zip
Xorg: fix for PutImage
-rw-r--r--xorg/server/module/rdpXv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg/server/module/rdpXv.c b/xorg/server/module/rdpXv.c
index e7c4b4f7..44a4d76c 100644
--- a/xorg/server/module/rdpXv.c
+++ b/xorg/server/module/rdpXv.c
@@ -429,7 +429,7 @@ xrdpVidPutImage(ScrnInfoPtr pScrn,
rdpRegionIntersect(&dreg, &dreg, clipBoxes);
}
- num_clips = REGION_NUM_RECTS(clipBoxes);
+ num_clips = REGION_NUM_RECTS(&dreg);
for (jndex = 0; jndex < num_clips; jndex++)
{
box = REGION_RECTS(&dreg)[jndex];