diff options
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/damageext/damageext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/damageext/damageext.c b/xorg-server/damageext/damageext.c index a942ffa68..cf6b63bf5 100644 --- a/xorg-server/damageext/damageext.c +++ b/xorg-server/damageext/damageext.c @@ -223,7 +223,9 @@ ProcDamageCreate(ClientPtr client) if (pDrawable->type == DRAWABLE_WINDOW) { pRegion = &((WindowPtr) pDrawable)->borderClip; + RegionTranslate(pRegion, -pDrawable->x, -pDrawable->y); DamageReportDamage(pDamageExt->pDamage, pRegion); + RegionTranslate(pRegion, pDrawable->x, pDrawable->y); } return Success; |