summaryrefslogtreecommitdiff
path: root/mi/mieq.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-31 12:01:47 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-31 17:42:05 +0930
commit341a61b608873c77b1a17fe7d145ed3ad716e5a3 (patch)
tree56c07af1412c428612f71e9c72660bf69ac34282 /mi/mieq.c
parent62c1a32976d571f3ced1812b8b96ed5a8e658b4a (diff)
mi: reduce noisyness. DebugF is enough if device ID can't be changed.
Also - printing out the event type is actually helpful.
Diffstat (limited to 'mi/mieq.c')
-rw-r--r--mi/mieq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index 830bab8a2..a1f9cc6da 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -254,9 +254,11 @@ ChangeDeviceID(DeviceIntPtr dev, xEvent* event)
{
// do nothing or drink a beer. your choice.
} 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
- ErrorF("[mi] Unknown event type, cannot change id.\n");
+ DebugF("[mi] Unknown event type (%d), cannot change id.\n", type);
}
/**