You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
650 B

From 58610d84853d1aa778230df731ce9036f1b32577 Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Tue, 13 Aug 2019 14:00:48 -0400
Subject: [PATCH] composite: Additional paranoia in compDestroyDamage
---
composite/compalloc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/composite/compalloc.c b/composite/compalloc.c
index 57c1693..04cf70c 100644
--- a/composite/compalloc.c
+++ b/composite/compalloc.c
@@ -97,6 +97,8 @@ compDestroyDamage(DamagePtr pDamage, void *closure)
CompWindowPtr cw = GetCompWindow(pWin);
cw->damage = 0;
+ cw->damaged = 0;
+ cw->damageRegistered = 0;
}
static Bool
--
2.21.0