summaryrefslogtreecommitdiff
path: root/composite/compalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'composite/compalloc.c')
-rw-r--r--composite/compalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/composite/compalloc.c b/composite/compalloc.c
index f63c475a7..8e2881e85 100644
--- a/composite/compalloc.c
+++ b/composite/compalloc.c
@@ -460,6 +460,7 @@ compFreePixmap (WindowPtr pWin)
{
DamageUnregister (&pWin->drawable, cw->damage);
cw->damageRegistered = FALSE;
+ DamageEmpty (cw->damage);
}
/*
* Move the parent-constrained border clip region back into