diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-06-05 20:55:29 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2010-06-05 22:07:21 -0700 |
commit | a0fe6987b55b5326157b50e169b8d6b9ae26a1ae (patch) | |
tree | 30bd5b4a9fef3d1435059bb2a32d4e8d9916195c /Xext/panoramiXprocs.c | |
parent | 424b593c7872a703d3d0c942b7e8acc0770eb023 (diff) |
Clean up after removal of screen parameters from region macros.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/panoramiXprocs.c')
-rw-r--r-- | Xext/panoramiXprocs.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c index 457e071a1..3cd2969ac 100644 --- a/Xext/panoramiXprocs.c +++ b/Xext/panoramiXprocs.c @@ -620,8 +620,7 @@ int PanoramiXTranslateCoords(ClientPtr client) * borderSize */ && (!wBoundingShape(pWin) || - RegionContainsPoint( - wBoundingShape(pWin), + RegionContainsPoint(wBoundingShape(pWin), x - pWin->drawable.x, y - pWin->drawable.y, &box)) ) @@ -1136,10 +1135,9 @@ int PanoramiXCopyArea(ClientPtr client) } if(pGC->graphicsExposures) { - ScreenPtr pScreen = pDst->pScreen; Bool overlap; RegionValidate(&totalReg, &overlap); - (*pScreen->SendGraphicsExpose)( + (*pDst->pScreen->SendGraphicsExpose)( client, &totalReg, stuff->dstDrawable, X_CopyArea, 0); RegionUninit(&totalReg); } @@ -1242,10 +1240,9 @@ int PanoramiXCopyPlane(ClientPtr client) } if(pGC->graphicsExposures) { - ScreenPtr pScreen = pdstDraw->pScreen; Bool overlap; RegionValidate(&totalReg, &overlap); - (*pScreen->SendGraphicsExpose)( + (*pdstDraw->pScreen->SendGraphicsExpose)( client, &totalReg, stuff->dstDrawable, X_CopyPlane, 0); RegionUninit(&totalReg); } |