aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/damageext
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-09-23 09:41:49 +0200
committermarha <marha@users.sourceforge.net>2013-09-23 09:41:49 +0200
commite4d5a2996e4a03f55bc7d21c493ba1bcbef35aae (patch)
treeee54f228a08b4d042e73cf9e6247ffbc9af3b73f /xorg-server/damageext
parent55c05b8a12944349b00053253d3a49b223a9f4de (diff)
downloadvcxsrv-e4d5a2996e4a03f55bc7d21c493ba1bcbef35aae.tar.gz
vcxsrv-e4d5a2996e4a03f55bc7d21c493ba1bcbef35aae.tar.bz2
vcxsrv-e4d5a2996e4a03f55bc7d21c493ba1bcbef35aae.zip
mesa xserver git update 23 Sep 2013
xserver commit 7d3d4ae55dd6ee338439e2424ac423b1df80501b mesa commit 6d29db715b8d60718ada1ab8ad19d969cac43caf
Diffstat (limited to 'xorg-server/damageext')
-rw-r--r--xorg-server/damageext/damageext.c2
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;