aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/window.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-08-20 07:50:24 +0000
committermarha <marha@users.sourceforge.net>2010-08-20 07:50:24 +0000
commit3799f1085abb02c5721f4c33f42c063edb68029d (patch)
tree8a7f504e9bd1099a8508d4ffe2eda47ad9f5c452 /xorg-server/dix/window.c
parent07d3578ce63d87c9a87d54d85f5c8057d30fdc58 (diff)
parent0ef233ddca61b9f3c72aa5f806ee818348f3aa20 (diff)
downloadvcxsrv-3799f1085abb02c5721f4c33f42c063edb68029d.tar.gz
vcxsrv-3799f1085abb02c5721f4c33f42c063edb68029d.tar.bz2
vcxsrv-3799f1085abb02c5721f4c33f42c063edb68029d.zip
svn merge ^/branches/released .
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;
}