summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-08-29 22:28:02 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-08-29 22:28:02 +0200
commit454cb0802eec3c2c2cdbcc17971bced868462b83 (patch)
treede82b96f19f38d605006b3af09024df541454ce5 /miext
parentae6ca434104405302f30a58bde8738d9579d9dc9 (diff)
damage: DamageReportRawRegion should set pDamage->damage
- I found no evidence in the protocol, that it should be differently from all the other modes. - It seems to have been like this from day 1. - If anyone has evidence to the contrary, please enlighten me.
Diffstat (limited to 'miext')
-rwxr-xr-xmiext/damage/damage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/miext/damage/damage.c b/miext/damage/damage.c
index 80fcddf80..60acdca87 100755
--- a/miext/damage/damage.c
+++ b/miext/damage/damage.c
@@ -129,6 +129,8 @@ damageReportDamage (DamagePtr pDamage, RegionPtr pDamageRegion)
switch (pDamage->damageLevel) {
case DamageReportRawRegion:
+ REGION_UNION(pScreen, &pDamage->damage, &pDamage->damage,
+ pDamageRegion);
(*pDamage->damageReport) (pDamage, pDamageRegion, pDamage->closure);
break;
case DamageReportDeltaRegion: