diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-08-31 17:45:08 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-08-31 17:46:26 +0200 |
commit | f4e9a1a98f97155de62908309e87c10487125926 (patch) | |
tree | 835931f1d83a3914d5b73d41edfb228c4eb2d83e /composite | |
parent | 0cd6709db5febbe7fbd073e429421fcd81041e08 (diff) |
damage: choose less ambiguous function names
Diffstat (limited to 'composite')
-rw-r--r-- | composite/compalloc.c | 2 | ||||
-rw-r--r-- | composite/compwindow.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/composite/compalloc.c b/composite/compalloc.c index a62647e92..e16eecf21 100644 --- a/composite/compalloc.c +++ b/composite/compalloc.c @@ -224,7 +224,7 @@ compFreeClientWindow (WindowPtr pWin, XID id) DamageRegister (&pWin->drawable, cw->damage); cw->damageRegistered = TRUE; pWin->redirectDraw = RedirectDrawAutomatic; - DamageRegionPending(&pWin->drawable, &pWin->borderSize); + DamageRegionAppend(&pWin->drawable, &pWin->borderSize); } if (wasMapped && !pWin->mapped) { diff --git a/composite/compwindow.c b/composite/compwindow.c index d2931e752..577fa733e 100644 --- a/composite/compwindow.c +++ b/composite/compwindow.c @@ -585,7 +585,7 @@ compCopyWindow (WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc) REGION_TRANSLATE (prgnSrc, prgnSrc, pWin->drawable.x - ptOldOrg.x, pWin->drawable.y - ptOldOrg.y); - DamageRegionPending(&pWin->drawable, prgnSrc); + DamageRegionAppend(&pWin->drawable, prgnSrc); } cs->CopyWindow = pScreen->CopyWindow; pScreen->CopyWindow = compCopyWindow; @@ -664,7 +664,7 @@ compSetRedirectBorderClip (WindowPtr pWin, RegionPtr pRegion) /* * Report that as damaged so it will be redrawn */ - DamageRegionPending(&pWin->drawable, &damage); + DamageRegionAppend(&pWin->drawable, &damage); REGION_UNINIT (pScreen, &damage); /* * Save the new border clip region |