summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdpXv.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/server/module/rdpXv.c')
-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];