From b81c330f70c4a4c8f37216aa4856c7f8db93a375 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 14 Feb 2008 09:32:54 +1030 Subject: [PATCH] mi: remove RawDeviceEvent's ID changing. --- mi/mieq.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mi/mieq.c b/mi/mieq.c index a1a434a47..a15b24f29 100644 --- a/mi/mieq.c +++ b/mi/mieq.c @@ -246,11 +246,7 @@ ChangeDeviceID(DeviceIntPtr dev, xEvent* event) else if (type == GenericEvent) { /* FIXME: need to put something into XGE to make this saner */ - if (GEIsType(event, IReqCode, XI_RawDeviceEvent)) - { - rawDeviceEvent* raw = (rawDeviceEvent*)event; - raw->deviceid = dev->id; - } else if (GEIsType(event, IReqCode, XI_DeviceClassesChangedNotify)) + if (GEIsType(event, IReqCode, XI_DeviceClassesChangedNotify)) { // do nothing or drink a beer. your choice. } else