From a0fe6987b55b5326157b50e169b8d6b9ae26a1ae Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Sat, 5 Jun 2010 20:55:29 -0700 Subject: Clean up after removal of screen parameters from region macros. Signed-off-by: Jamey Sharp Reviewed-by: Keith Packard --- xfixes/region.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xfixes') diff --git a/xfixes/region.c b/xfixes/region.c index 4fdfa203a..4a3ec334a 100644 --- a/xfixes/region.c +++ b/xfixes/region.c @@ -663,7 +663,6 @@ int ProcXFixesSetWindowShapeRegion (ClientPtr client) { WindowPtr pWin; - ScreenPtr pScreen; RegionPtr pRegion; RegionPtr *pDestRegion; int rc; @@ -678,7 +677,6 @@ ProcXFixesSetWindowShapeRegion (ClientPtr client) return rc; } VERIFY_REGION_OR_NONE(pRegion, stuff->region, client, DixWriteAccess); - pScreen = pWin->drawable.pScreen; switch (stuff->destKind) { case ShapeBounding: case ShapeClip: @@ -733,7 +731,7 @@ ProcXFixesSetWindowShapeRegion (ClientPtr client) if (*pDestRegion) RegionDestroy(*pDestRegion); *pDestRegion = pRegion; - (*pScreen->SetShape) (pWin, stuff->destKind); + (*pWin->drawable.pScreen->SetShape) (pWin, stuff->destKind); SendShapeNotify (pWin, stuff->destKind); return Success; } -- cgit v1.2.3