mi: remove RawDeviceEvent's ID changing.
This commit is contained in:
parent
acb412d539
commit
b81c330f70
|
@ -246,11 +246,7 @@ ChangeDeviceID(DeviceIntPtr dev, xEvent* event)
|
||||||
else if (type == GenericEvent)
|
else if (type == GenericEvent)
|
||||||
{
|
{
|
||||||
/* FIXME: need to put something into XGE to make this saner */
|
/* FIXME: need to put something into XGE to make this saner */
|
||||||
if (GEIsType(event, IReqCode, XI_RawDeviceEvent))
|
if (GEIsType(event, IReqCode, XI_DeviceClassesChangedNotify))
|
||||||
{
|
|
||||||
rawDeviceEvent* raw = (rawDeviceEvent*)event;
|
|
||||||
raw->deviceid = dev->id;
|
|
||||||
} else if (GEIsType(event, IReqCode, XI_DeviceClassesChangedNotify))
|
|
||||||
{
|
{
|
||||||
// do nothing or drink a beer. your choice.
|
// do nothing or drink a beer. your choice.
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user