log spam from DGA events...

David Miller davem at davemloft.net
Thu Jun 11 05:15:05 PDT 2009


When input device events are stolen by DGA and reemitted as
type ET_DGAEvent, this spews a log message from ChangeDeviceID():

[mi] Unknown event type (15), cannot change id.

I assume there isn't anything we should do with the dev->id for DGA
pass-thru events like this, so I'll try the following patch below.

I only noticed this because my filesystem would fill up after an hour
or two of playing quake3 :-)

diff --git a/mi/mieq.c b/mi/mieq.c
index 8ceda43..0f07b16 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -277,6 +277,10 @@ ChangeDeviceID(DeviceIntPtr dev, InternalEvent* event)
         case ET_DeviceChanged:
             event->device.deviceid = dev->id;
             break;
+#if XFreeXDGA
+	case ET_DGAEvent:
+	    break;
+#endif
         case ET_Raw:
             event->raw.deviceid = dev->id;
             break;


More information about the xorg-devel mailing list