sourceid in XIRawEvents

Mark Dokter dokter at icg.tugraz.at
Fri Feb 11 06:51:39 PST 2011


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) ?

thx,
Mark



More information about the xorg mailing list