aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmultiwindowwm.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-20 08:17:29 +0000
committermarha <marha@users.sourceforge.net>2010-09-20 08:17:29 +0000
commit9cf4320c9d18406a570d4472cbf1fe3ceaeaf555 (patch)
treeeed0b4b067343a09343103c365bb82da51361018 /xorg-server/hw/xwin/winmultiwindowwm.c
parent1845686fa00493ca3a9667b330066300ff900323 (diff)
downloadvcxsrv-9cf4320c9d18406a570d4472cbf1fe3ceaeaf555.tar.gz
vcxsrv-9cf4320c9d18406a570d4472cbf1fe3ceaeaf555.tar.bz2
vcxsrv-9cf4320c9d18406a570d4472cbf1fe3ceaeaf555.zip
Make sure the tray icon in the taskbar gets destroyed upon exit
Diffstat (limited to 'xorg-server/hw/xwin/winmultiwindowwm.c')
-rw-r--r--xorg-server/hw/xwin/winmultiwindowwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwm.c b/xorg-server/hw/xwin/winmultiwindowwm.c
index d6a2b2c88..b5b0fef84 100644
--- a/xorg-server/hw/xwin/winmultiwindowwm.c
+++ b/xorg-server/hw/xwin/winmultiwindowwm.c
@@ -1451,6 +1451,8 @@ winMultiWindowXMsgProcIOErrorHandler (Display *pDisplay)
static void
winMultiWindowThreadExit(void *arg)
{
+ AbortDDX();
+
/* multiwindow client thread has exited, stop server as well */
TerminateProcess(GetCurrentProcess(),1);
}