aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-23 21:04:04 +0000
committermarha <marha@users.sourceforge.net>2009-09-23 21:04:04 +0000
commitf02db4f3b9d748e1fd06e3ae2985b9cf1547cc7e (patch)
tree9e7288242a4db8942c80ea1b64d4df3ce0f3b4c3 /xorg-server/dix
parent10c7b1d5bacbb84626a19d6de93175c8784b9d1e (diff)
downloadvcxsrv-f02db4f3b9d748e1fd06e3ae2985b9cf1547cc7e.tar.gz
vcxsrv-f02db4f3b9d748e1fd06e3ae2985b9cf1547cc7e.tar.bz2
vcxsrv-f02db4f3b9d748e1fd06e3ae2985b9cf1547cc7e.zip
Put global pointers to the mouse and keyboard device back to NULL after they have been closed.
Diffstat (limited to 'xorg-server/dix')
-rw-r--r--xorg-server/dix/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xorg-server/dix/main.c b/xorg-server/dix/main.c
index d607c8431..24aa7b6c0 100644
--- a/xorg-server/dix/main.c
+++ b/xorg-server/dix/main.c
@@ -331,6 +331,7 @@ int main(int argc, char *argv[], char *envp[])
memset(WindowTable, 0, sizeof(WindowTable));
CloseDownDevices();
+ InputDevicesClosed();
CloseDownEvents();
for (i = screenInfo.numScreens - 1; i >= 0; i--)