[PATCH v7 6/7] winex11.drv: Implement native mouse-movement raw-input using RawMotion.

Derek Lesho dereklesho52 at gmail.com
Mon Jul 22 21:16:26 CDT 2019


Thank you for looking into this, would the solution to this problem be to
preserve the event from the slave pointer in merge_raw_events?

On Mon, Jul 22, 2019 at 10:06 AM Rémi Bernon <rbernon at codeweavers.com>
wrote:

> It looks like that if the cursor isn't clipped by the application (or
> by wine in fullscreen), then both master and slave XI2 device events
> are received (on the contrary, when the cursor is clipped then for some
> unclear reason only the slave device events are received).
>
> In this case, one of the events is then discarded by
> merge_raw_motion_events in dlls/winex11.drv/event.c and as
> X11DRV_RawMotion is designed to track only slave devices (one per
> thread with the xi2_current_slave field AFAICS?), depending on which
> comes first, the event might not be processed and no raw input be sent.
> --
> Rémi Bernon <rbernon at codeweavers.com>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190722/28f4ad70/attachment.html>


More information about the wine-devel mailing list