summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-13 16:02:22 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-16 13:29:07 +1000
commitd21a546e9604ce2d3c914900f6e6ff2df9f5ca8b (patch)
tree15b70abef651dd3121adef3add89693203dc873c
parentrender: replace a wrong inputInfo.pointer with pDev (diff)
downloadxserver-d21a546e9604ce2d3c914900f6e6ff2df9f5ca8b.tar.gz
xserver-d21a546e9604ce2d3c914900f6e6ff2df9f5ca8b.tar.bz2
xserver-d21a546e9604ce2d3c914900f6e6ff2df9f5ca8b.zip
Xi: VCP and VCK may register for ext. events, so delete them if necessary.
-rw-r--r--Xi/exevents.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index 90005f487..670d50983 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -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);
}