summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-02-28 15:54:09 -0800
committerJay Sorg <jay.sorg@gmail.com>2013-02-28 15:54:09 -0800
commitb53cefbea45575ab3772a2705d67c2a293437401 (patch)
tree08e226c09ec71595367254c957ecf90f49fd169e /xorg/X11R7.6
parent4607de10a698bec0bf616eed545bb039661e40cb (diff)
downloadxrdp-proprietary-b53cefbea45575ab3772a2705d67c2a293437401.tar.gz
xrdp-proprietary-b53cefbea45575ab3772a2705d67c2a293437401.zip
X11rdp: in composite, use pCompositeClip, not clientClip
Diffstat (limited to 'xorg/X11R7.6')
-rw-r--r--xorg/X11R7.6/rdp/rdpdraw.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/xorg/X11R7.6/rdp/rdpdraw.c b/xorg/X11R7.6/rdp/rdpdraw.c
index a0cc2f0f..35b501c4 100644
--- a/xorg/X11R7.6/rdp/rdpdraw.c
+++ b/xorg/X11R7.6/rdp/rdpdraw.c
@@ -1242,8 +1242,6 @@ rdpComposite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst,
int post_process;
int reset_surface;
int got_id;
- int lx;
- int ly;
WindowPtr pDstWnd;
PixmapPtr pDstPixmap;
rdpPixmapRec *pDstPriv;
@@ -1324,7 +1322,7 @@ rdpComposite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst,
return;
}
- if (pDst->clientClipType == CT_REGION)
+ if (pDst->pCompositeClip != 0)
{
box.x1 = p->x + xDst;
box.y1 = p->y + yDst;
@@ -1332,10 +1330,7 @@ rdpComposite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst,
box.y2 = box.y1 + height;
RegionInit(&reg1, &box, 0);
RegionInit(&reg2, NullBox, 0);
- RegionCopy(&reg2, pDst->clientClip);
- lx = p->x + pDst->clipOrigin.x;
- ly = p->y + pDst->clipOrigin.y;
- RegionTranslate(&reg2, lx, ly);
+ RegionCopy(&reg2, pDst->pCompositeClip);
RegionIntersect(&reg1, &reg1, &reg2);
if (dirty_type != 0)