Lauri Kenttä lauri.kentta@gmail.com writes:
So is it then possible to clip the cursor to the virtual desktop in the wineserver, or do you see some apparent problem there? I would be surprised if this was the only application to choke on strange mouse coordinates.
It's possible, but it's not clear that it's desirable. Pretending that the mouse is still inside the desktop when it has left can lead to strange behaviors too. I think enabling clipping for these apps is a better solution.
With my touchpad the results are much more interesting. The cursor moves slowly (around 1/3 of normal speed) but warps once per second to where it really should be. When the cursor stops, the game starts polling with GetCursorPos and the cursor warps again to the correct position. The TRACE in GetCursorPos shows that "server pos" follows the slower movement and is different from what the function returns.
Maybe I should file a bug about that?
Most likely because XInput raw events don't take acceleration into account. I'm not sure there's a whole lot we can do about that.