On Tue Jun 18 18:39:38 2024 +0000, Grigory Vasilyev wrote:
@rbernon I also don’t fully understand whether I should change rawmouse->usFlags as in the wine-staging patch.
- rawmouse->usFlags = MOUSE_MOVE_RELATIVE; + rawmouse->usFlags = 0; + if (flags & MOUSEEVENTF_ABSOLUTE) rawmouse->usFlags |= MOUSE_MOVE_ABSOLUTE; + if (flags & MOUSEEVENTF_VIRTUALDESK) rawmouse->usFlags |= MOUSE_VIRTUAL_DESKTOP;
I'm confused by these changes in Proton. https://github.com/ValveSoftware/wine/commit/8fa1095bb13ea7f366ade8c4345bb3a... https://github.com/ValveSoftware/wine/commit/dda751149ea103082d9530f15b701b7...
The important part from [0001-server-Add-support-for-absolute-rawinput-mouse-messa.patch](https://gitlab.winehq.org/wine/wine-staging/-/blob/0c3e34dc139cb78a6cd55311f...) is that x and y go in unmodified (the `x - desktop->cursor.x` is now just `x`).