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

Merlijn Wajer merlijn at wizzup.org
Fri Jul 3 14:03:41 UTC 2020


Hi,

On 01/07/2020 17:33, Merlijn Wajer wrote:
> 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.

I have posted the same information here, assuming that this list is no
longer in use: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1046

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/20200703/d929d552/attachment.sig>


More information about the xorg-devel mailing list