mi: reduce noisyness. DebugF is enough if device ID can't be changed.
Also - printing out the event type is actually helpful.
This commit is contained in:
parent
62c1a32976
commit
341a61b608
|
@ -254,9 +254,11 @@ ChangeDeviceID(DeviceIntPtr dev, xEvent* event)
|
||||||
{
|
{
|
||||||
// do nothing or drink a beer. your choice.
|
// do nothing or drink a beer. your choice.
|
||||||
} else
|
} else
|
||||||
ErrorF("[mi] Unknown generic event, cannot change id.\n");
|
DebugF("[mi] Unknown generic event (%d/%d), cannot change id.\n",
|
||||||
|
((xGenericEvent*)ev)->extension,
|
||||||
|
((xGenericEvent*)ev)->evtype);
|
||||||
} else
|
} else
|
||||||
ErrorF("[mi] Unknown event type, cannot change id.\n");
|
DebugF("[mi] Unknown event type (%d), cannot change id.\n", type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue