summaryrefslogtreecommitdiff
path: root/composite/compwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'composite/compwindow.c')
-rw-r--r--composite/compwindow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/composite/compwindow.c b/composite/compwindow.c
index 2f5e83cda..a97c63ccf 100644
--- a/composite/compwindow.c
+++ b/composite/compwindow.c
@@ -548,7 +548,9 @@ compCopyWindow (WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
REGION_TRANSLATE (prgnSrc, prgnSrc,
pWin->drawable.x - ptOldOrg.x,
pWin->drawable.y - ptOldOrg.y);
+#if 0
DamageDamageRegion (&pWin->drawable, prgnSrc);
+#endif
}
cs->CopyWindow = pScreen->CopyWindow;
pScreen->CopyWindow = compCopyWindow;
@@ -627,7 +629,9 @@ compSetRedirectBorderClip (WindowPtr pWin, RegionPtr pRegion)
/*
* Report that as damaged so it will be redrawn
*/
+#if 0
DamageDamageRegion (&pWin->drawable, &damage);
+#endif
REGION_UNINIT (pScreen, &damage);
/*
* Save the new border clip region