From 1861250cd7e84b05e8298b74e3c7e97da72ddfba Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Fri, 29 Aug 2008 22:15:23 +0200 Subject: {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. --- damageext/damageext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'damageext') 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); -- cgit v1.2.3