diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-08-29 22:15:23 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-08-29 22:15:23 +0200 |
commit | 1861250cd7e84b05e8298b74e3c7e97da72ddfba (patch) | |
tree | 1027bb4b5830f0ec336e9e082f4b5dc73fe4bea8 /damageext | |
parent | 5af77d43fe812e127d5d335527fa940ab9d95f38 (diff) |
{damage,exa}: sanitise damage
- Redo damage naming for more consistency.
- Call post submission functions only where appropriate.
- EXA can now live without it's odd damage workarounds.
Diffstat (limited to 'damageext')
-rwxr-xr-x | damageext/damageext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/damageext/damageext.c b/damageext/damageext.c index 4d91580ca..fdf31f323 100755 --- a/damageext/damageext.c +++ b/damageext/damageext.c @@ -233,7 +233,7 @@ ProcDamageCreate (ClientPtr client) if (pDrawable->type == DRAWABLE_WINDOW) { pRegion = &((WindowPtr) pDrawable)->borderClip; - DamageDamageRegion (pDrawable, pRegion); + DamageRegionPending(pDrawable, pRegion); } return (client->noClientException); @@ -303,7 +303,7 @@ ProcDamageAdd (ClientPtr client) * screen coordinates like damage expects. */ REGION_TRANSLATE(pScreen, pRegion, pDrawable->x, pDrawable->y); - DamageDamageRegion(pDrawable, pRegion); + DamageRegionPending(pDrawable, pRegion); REGION_TRANSLATE(pScreen, pRegion, -pDrawable->x, -pDrawable->y); return (client->noClientException); |