[PATCH] Add source id to RawEvents in XI 2.1

Peter Hutterer peter.hutterer at who-t.net
Thu Jul 28 18:05:25 PDT 2011


Another addition for raw events in XI 2.1. Though the libXi interface has a
sourceid field, that field is always 0 because the protocol is missing the
bit to send it down the wire.

So in 2.1, replace one of the padding fields in the event struct with the
source device ID.

Cheers,
  Peter


More information about the xorg-devel mailing list