log spam from DGA events...

Peter Hutterer peter.hutterer at who-t.net
Wed Jun 17 17:01:26 PDT 2009


On Thu, Jun 11, 2009 at 05:15:05AM -0700, David Miller wrote:
> 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;

Pushed, thanks for the patch.

Cheers,
  Peter


More information about the xorg-devel mailing list