Lines 223-229
ProcDamageCreate (ClientPtr client)
Link Here
|
223 |
if (pDrawable->type == DRAWABLE_WINDOW) |
223 |
if (pDrawable->type == DRAWABLE_WINDOW) |
224 |
{ |
224 |
{ |
225 |
pRegion = &((WindowPtr) pDrawable)->borderClip; |
225 |
pRegion = &((WindowPtr) pDrawable)->borderClip; |
226 |
DamageRegionAppend(pDrawable, pRegion); |
226 |
DamageDamageRegion(pDrawable, pRegion); |
227 |
} |
227 |
} |
228 |
|
228 |
|
229 |
return Success; |
229 |
return Success; |
Lines 293-299
ProcDamageAdd (ClientPtr client)
Link Here
|
293 |
* screen coordinates like damage expects. |
293 |
* screen coordinates like damage expects. |
294 |
*/ |
294 |
*/ |
295 |
RegionTranslate(pRegion, pDrawable->x, pDrawable->y); |
295 |
RegionTranslate(pRegion, pDrawable->x, pDrawable->y); |
296 |
DamageRegionAppend(pDrawable, pRegion); |
296 |
DamageDamageRegion(pDrawable, pRegion); |
297 |
RegionTranslate(pRegion, -pDrawable->x, -pDrawable->y); |
297 |
RegionTranslate(pRegion, -pDrawable->x, -pDrawable->y); |
298 |
|
298 |
|
299 |
return Success; |
299 |
return Success; |