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

2020-07-03 Thread Merlijn Wajer
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



signature.asc
Description: OpenPGP digital signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel


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

2020-07-01 Thread Merlijn Wajer
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



signature.asc
Description: OpenPGP digital signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel