log spam from DGA events...

David Miller davem at davemloft.net
Tue Jun 16 22:23:42 PDT 2009


From: David Miller <davem at davemloft.net>
Date: Thu, 11 Jun 2009 05:15:05 -0700 (PDT)

Ping?

> 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;
> _______________________________________________
> xorg-devel mailing list
> xorg-devel at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list