mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +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
|
|
@ -262,7 +262,6 @@ void RootlessStopDrawing(WindowPtr pWindow, Bool flush)
|
|||
void
|
||||
RootlessDamageRegion(WindowPtr pWindow, RegionPtr pRegion)
|
||||
{
|
||||
ScreenPtr pScreen = pWindow->drawable.pScreen;
|
||||
RootlessWindowRec *winRec;
|
||||
RegionRec clipped;
|
||||
WindowPtr pTop;
|
||||
|
|
@ -307,7 +306,8 @@ RootlessDamageRegion(WindowPtr pWindow, RegionPtr pRegion)
|
|||
RegionUnion(&winRec->damage,
|
||||
&winRec->damage, (pRegion));
|
||||
#else
|
||||
SCREENREC(pScreen)->imp->DamageRects(winRec->wid,
|
||||
SCREENREC(pWindow->drawable.pScreen)->imp->
|
||||
DamageRects(winRec->wid,
|
||||
RegionNumRects(pRegion),
|
||||
RegionRects(pRegion),
|
||||
-winRec->x, -winRec->y);
|
||||
|
|
@ -332,7 +332,8 @@ RootlessDamageRegion(WindowPtr pWindow, RegionPtr pRegion)
|
|||
RegionUnion(&winRec->damage,
|
||||
&winRec->damage, (pRegion));
|
||||
#else
|
||||
SCREENREC(pScreen)->imp->DamageRects(winRec->wid,
|
||||
SCREENREC(pWindow->drawable.pScreen)->imp->
|
||||
DamageRects(winRec->wid,
|
||||
RegionNumRects(&clipped),
|
||||
RegionRects(&clipped),
|
||||
-winRec->x, -winRec->y);
|
||||
|
|
|
|||
Loading…
Reference in a new issue