summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdpPolyArc.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-01-25 11:30:45 -0800
committerJay Sorg <jay.sorg@gmail.com>2014-01-25 11:30:45 -0800
commit03e5b5e62bae5f872874869e62cc096c576fba16 (patch)
tree62aa1ee34ead892e0715f7da1c23ec188b441475 /xorg/server/module/rdpPolyArc.c
parentf39ba98a4ff48a2e6a12cb27027a0b06d139c55a (diff)
downloadxrdp-proprietary-03e5b5e62bae5f872874869e62cc096c576fba16.tar.gz
xrdp-proprietary-03e5b5e62bae5f872874869e62cc096c576fba16.zip
xorg: work on xorg driver
Diffstat (limited to 'xorg/server/module/rdpPolyArc.c')
-rw-r--r--xorg/server/module/rdpPolyArc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xorg/server/module/rdpPolyArc.c b/xorg/server/module/rdpPolyArc.c
index c3d6bef9..e0a3d128 100644
--- a/xorg/server/module/rdpPolyArc.c
+++ b/xorg/server/module/rdpPolyArc.c
@@ -74,10 +74,6 @@ rdpPolyArcPost(rdpPtr dev, rdpClientCon *clientCon,
{
return;
}
- if (cd == XRDP_CD_CLIP)
- {
- rdpRegionIntersect(reg, clip_reg, reg);
- }
rdpClientConAddDirtyScreenReg(dev, clientCon, reg);
}
@@ -95,7 +91,7 @@ rdpPolyArc(DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
RegionRec clip_reg;
RegionRec reg;
- LLOGLN(10, ("rdpPolyArc:"));
+ LLOGLN(0, ("rdpPolyArc:"));
dev = rdpGetDevFromScreen(pGC->pScreen);
dev->counts.rdpPolyArcCallCount++;
rdpRegionInit(&reg, NullBox, 0);
@@ -119,6 +115,10 @@ rdpPolyArc(DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
rdpRegionInit(&clip_reg, NullBox, 0);
cd = rdpDrawGetClip(dev, &clip_reg, pDrawable, pGC);
LLOGLN(10, ("rdpPolyArc: cd %d", cd));
+ if (cd == XRDP_CD_CLIP)
+ {
+ rdpRegionIntersect(&reg, &clip_reg, &reg);
+ }
clientCon = dev->clientConHead;
while (clientCon != NULL)
{