From f36153e3ef6b13a87d016caab09cc9be274b0dd5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 28 Oct 2010 20:46:22 -0700 Subject: Replace usage of DamageRegionAppend with DamageDamageRegion to fix reportAfter. In all these cases, any rendering implied by this damage has already occurred, and we want to get the damage out to the client. Some of the DamageRegionAppend calls were explicitly telling damage to flush the reportAfter damage out, but not all. Bug #30260. Fixes the compiz wallpaper plugin with client damage changed to reportAfter. Signed-off-by: Eric Anholt Reviewed-by: Keith Packard Signed-off-by: Keith Packard --- exa/exa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'exa') diff --git a/exa/exa.c b/exa/exa.c index fc15c2471..8adf8473c 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -159,8 +159,7 @@ exaPixmapDirty (PixmapPtr pPix, int x1, int y1, int x2, int y2) return; RegionInit(®ion, &box, 1); - DamageRegionAppend(&pPix->drawable, ®ion); - DamageRegionProcessPending(&pPix->drawable); + DamageDamageRegion(&pPix->drawable, ®ion); RegionUninit(®ion); } -- cgit v1.2.3