mi: remove RawDeviceEvent's ID changing.

This commit is contained in:
Peter Hutterer 2008-02-14 09:32:54 +10:30
parent acb412d539
commit b81c330f70

View File

@ -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