winex11drv: Virtualize cursor position.

Vitaliy Margolen wine-patches at
Wed Jan 24 11:33:30 CST 2007

If the mouse cursor is not visible and we can be sure it won't
escape our window switch into "virtual mouse pointer" mode. Where
we warp the mouse only when it reaches the borders of the window.
And report internal mouse position and not the real one.

This patch indirectly depends on the mouse grabbing patch.

If you want to test both enable "dxgrab" in winecfg.

 dlls/winex11.drv/mouse.c |   72 ++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 63 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b4144b38491da9aac956196d729c0669296784e9.diff
Type: text/x-patch
Size: 4533 bytes
Desc: not available
Url :

More information about the wine-patches mailing list