sourceid in XIRawEvents

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 14 16:32:40 PST 2011


On Fri, Feb 11, 2011 at 03:51:39PM +0100, Mark Dokter wrote:
> Hello!
> 
> I noticed that the sourceid field in XIRawEvents is 0 while the
> XIDeviceEvent sourceid field gets filled with the correct id of a slave
> device.
> The code I wrote some time ago uses raw events and now I realized that I
> have the requirement to know from which device the event came from.
> Is this a bug or is this a deliberate behaviour (since the xinput
> utility also avoids printing source ids of raw events) ?

Just FTR, bug 34240 filed for this issue
https://bugs.freedesktop.org//show_bug.cgi?id=34240

Cheers,
  Peter



More information about the xorg mailing list