http://bugs.winehq.org/show_bug.cgi?id=27156
--- Comment #61 from Valeriy Malov jazzvoid@gmail.com 2011-06-05 09:22:27 CDT --- (In reply to comment #58)
So, uhh, I've found a proposal by Peter Hutterer on fixing this bug and tried to write a rough fix for xorg-server 1.9.5
http://paste.pocoo.org/show/401098/
I don't have a clue on how does X work, but it seems to fix the problem with Mad Fish' test case warptest.c: no more raw events on XWarpPointer. But Team Fortress 2 with the most "broken" version of wine 1.3.20 exhibits absolutely the same behavior both on patched and unpatched xorg-server: mouse jumping at the beginning of mouse movement, mouse jumping on (probably) cursor warping and mouse jumping on mouse clicks.
I have no idea what else can be done except just checking tracer debug channels.