[PATCH 4/5] mioverlay: Remove some redundant work from miOverlayValidateTree
Adam Jackson
ajax at redhat.com
Tue Feb 17 15:59:45 PST 2015
Window unmap calls UnrealizeTree before ->ValidateTree. Our
MarkUnrealizedWindow already empties shadow clips, which means we don't
need to do it again in miOverlayValidateTree.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
mi/mioverlay.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mi/mioverlay.c b/mi/mioverlay.c
index 9b981c1..743aa84 100644
--- a/mi/mioverlay.c
+++ b/mi/mioverlay.c
@@ -775,8 +775,6 @@ miOverlayValidateTree(WindowPtr pParent, WindowPtr pChild, /* first child e
RegionSubtract(&totalClip, &totalClip, &tWin->pWin->borderSize);
}
else { /* Means we are unmapping */
- RegionEmpty(&tWin->clipList);
- RegionEmpty(&tWin->borderClip);
tWin->valdata = NULL;
}
}
--
1.9.3
More information about the xorg-devel
mailing list