aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/window.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-08-19 20:55:15 +0000
committermarha <marha@users.sourceforge.net>2010-08-19 20:55:15 +0000
commit0ef233ddca61b9f3c72aa5f806ee818348f3aa20 (patch)
tree9ebcf3a881f9c387e5244055d48bc383f2afb16e /xorg-server/dix/window.c
parent2aa7bcf37f00b7884ae166d62db81493ea37934a (diff)
downloadvcxsrv-0ef233ddca61b9f3c72aa5f806ee818348f3aa20.tar.gz
vcxsrv-0ef233ddca61b9f3c72aa5f806ee818348f3aa20.tar.bz2
vcxsrv-0ef233ddca61b9f3c72aa5f806ee818348f3aa20.zip
xserver git update 19/8/2010
Diffstat (limited to 'xorg-server/dix/window.c')
-rw-r--r--xorg-server/dix/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/dix/window.c b/xorg-server/dix/window.c
index 62f790c08..f4d6ca5d8 100644
--- a/xorg-server/dix/window.c
+++ b/xorg-server/dix/window.c
@@ -921,6 +921,8 @@ DeleteWindow(pointer value, XID wid)
if (pWin->prevSib)
pWin->prevSib->nextSib = pWin->nextSib;
}
+ else
+ pWin->drawable.pScreen->root = NULL;
dixFreeObjectWithPrivates(pWin, PRIVATE_WINDOW);
return Success;
}