Close down virtual core devices when closing all devices.

This commit is contained in:
Peter Hutterer 2007-04-09 18:37:48 +09:30
parent 6081b8c76f
commit 7cef789fa1

View File

@ -605,6 +605,9 @@ CloseDownDevices()
{ {
DeviceIntPtr dev, next; DeviceIntPtr dev, next;
CloseDevice(inputInfo.keyboard);
CloseDevice(inputInfo.pointer);
for (dev = inputInfo.devices; dev; dev = next) for (dev = inputInfo.devices; dev; dev = next)
{ {
next = dev->next; next = dev->next;