XRecord does not receive Device events for touchscreen ButtonPress/ButtonRelease events

Merlijn Wajer merlijn at wizzup.org
Wed Jul 1 15:33:22 UTC 2020


Hi,

On 01/07/2020 16:47, Merlijn Wajer wrote:
> 
> Does anyone here have a clue what's up here, and what the right way to
> fix this would be? I'd like to contribute a fix, but I think I could use
> some guidance / feedback here.
> 
> The simple change to me seems to simply fix up record.c to check for
> device events in RecordADeliveredEventOrError and deliver (and filter)
> them properly, but maybe there is a bigger problem.

I suppose, alternatively, WriteEventsToClient could push device events
to the DeviceEventsCallback list, and non-device events to the
EventsCallback lists, but I don't know what other parts of the server
might be affected by such a change.

Cheers,
Merlijn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.x.org/archives/xorg-devel/attachments/20200701/2ab8b555/attachment.sig>


More information about the xorg-devel mailing list