[PATCH 6/8] dix: Switch window unmap to mark normally instead of UnmapValData
Adam Jackson
ajax at redhat.com
Mon Nov 17 12:41:13 PST 2014
---
dix/window.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dix/window.c b/dix/window.c
index a82c294..af63703 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -2748,7 +2748,7 @@ UnmapWindow(WindowPtr pWin, Bool fromConfigure)
if (SubStrSend(pWin, pParent))
DeliverUnmapNotify(pWin, fromConfigure);
if (wasPaintable && !fromConfigure) {
- pWin->valdata = UnmapValData;
+ (*pScreen->MarkWindow) (pWin);
(*pScreen->MarkOverlappedWindows) (pWin, pWin->nextSib, &pLayerWin);
(*pScreen->MarkWindow) (pLayerWin->parent);
}
@@ -2798,7 +2798,7 @@ UnmapSubwindows(WindowPtr pWin)
if (parentNotify || StrSend(pChild))
DeliverUnmapNotify(pChild, xFalse);
if (pChild->viewable) {
- pChild->valdata = UnmapValData;
+ (*pScreen->MarkWindow) (pChild);
anyMarked = TRUE;
}
pChild->mapped = FALSE;
--
1.9.3
More information about the xorg-devel
mailing list