From af0463ca525b3fe36b3d101b40a3a439399cbf53 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 20 Sep 2014 16:57:53 -0700 Subject: [PATCH] Xorg: fix for PutImage --- xorg/server/module/rdpXv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];