http://bugs.winehq.org/show_bug.cgi?id=6971
--- Comment #69 from Vitaliy Margolen vitaliy@kievinfo.com 2008-03-14 19:34:18 --- (In reply to comment #68)
using events device would be linux specific, the bug would still remain for freebsd, solaris, etc etc.
Correct, so the only available options is getting these events from the X server (pretty much where Wine gets them now).
But the problem with that - it's the absolute coords of the pointer (not the actual mouse movements). These coordinates don't change if the pointer on the edge of the screen and doesn't move past it. While mouse can still move.
Which means Wine have to get actual hardware mouse events from X server. The only way to do that is via XInput extension. However core pointer and core keyboard can not be opened this way.