I'm testing patches for https://bugs.winehq.org/show_bug.cgi?id=57430. In short: when running certain MMOs in windowed winewayland mode the camera control (which is a temporary mouselook with the cursor disappearing) shows erratic movements depending on where it was started in the window.
This PR sounded like it could mitigate the issue. Testing wine 10.2 + this PR !7353 the issue is unfortunately still reproducible. screen recordings of the issue:
wine 10.2 + !7353 in WoW WotLK windowed mode: https://streamable.com/5pt0j9 wine 10.2 + !7353 in Guild Wars 2 windowed mode: https://streamable.com/vwnp0q
while in windowed mode, where the erratic mouselook is seen, the trace is showing: `0128:trace:waylanddrv:pointer_handle_motion_internal hwnd=0x3006a wayland_xy=1272.34,198.56 screen_xy=2468,812`
while in fullscreen mode, where mouselook is working as expected, the trace is showing: `0128:trace:waylanddrv:relative_pointer_v1_relative_motion hwnd=0x3006a wayland_dxdy=1.00,0.00 screen_dxdy=1,0`
Excuse me if this PR is completely unrelated.