Skribent: Merlijn Wajer Dato: Til: xorg-devel CC: maemo-leste, Ivaylo Dimitrov Emne: Re: [maemo-leste] XRecord does not receive Device events for
touchscreen ButtonPress/ButtonRelease events
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.