diff options
Diffstat (limited to 'xorg-server/hw/kdrive/ephyr/ephyr.c')
-rw-r--r-- | xorg-server/hw/kdrive/ephyr/ephyr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xorg-server/hw/kdrive/ephyr/ephyr.c b/xorg-server/hw/kdrive/ephyr/ephyr.c index 21c696c20..404f4ca60 100644 --- a/xorg-server/hw/kdrive/ephyr/ephyr.c +++ b/xorg-server/hw/kdrive/ephyr/ephyr.c @@ -346,13 +346,13 @@ ephyrInternalDamageRedisplay (ScreenPtr pScreen) pRegion = DamageRegion (scrpriv->pDamage);
- if (REGION_NOTEMPTY (pScreen, pRegion))
+ if (RegionNotEmpty(pRegion))
{
int nbox;
BoxPtr pbox;
- nbox = REGION_NUM_RECTS (pRegion);
- pbox = REGION_RECTS (pRegion);
+ nbox = RegionNumRects (pRegion);
+ pbox = RegionRects (pRegion);
while (nbox--)
{
@@ -908,10 +908,10 @@ ephyrExposePairedWindow (int a_remote) return;
}
screen = pair->local->drawable.pScreen;
- REGION_NULL (screen, ®);
- REGION_COPY (screen, ®, &pair->local->clipList);
+ RegionNull(®);
+ RegionCopy(®, &pair->local->clipList);
screen->WindowExposures (pair->local, ®, NullRegion);
- REGION_UNINIT (screen, ®);
+ RegionUninit(®);
}
#endif /* XF86DRI */
|