Xi: VCP and VCK may register for ext. events, so delete them if necessary.

This commit is contained in:
Peter Hutterer 2009-03-13 16:02:22 +10:00
parent 6ec49098f7
commit d21a546e96

View File

@ -1717,8 +1717,6 @@ DeleteWindowFromAnyExtEvents(WindowPtr pWin, Bool freeResources)
struct _OtherInputMasks *inputMasks;
for (dev = inputInfo.devices; dev; dev = dev->next) {
if (dev == inputInfo.pointer || dev == inputInfo.keyboard)
continue;
DeleteDeviceFromAnyExtEvents(pWin, dev);
}