mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-18 19:52:21 +00:00
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>
This commit is contained in:
parent
424b593c78
commit
a0fe6987b5
31 changed files with 102 additions and 259 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue