[PATCH 4/5] x11drv: Virtualize the mouse pointer.

Vitaliy Margolen wine-patch at kievinfo.com
Thu Oct 5 09:10:52 CDT 2006


Change log:
x11drv: Virtualize the mouse pointer.

This is the major change in the way mouse will be handled in dinput and
games that do their own warping.

On windows dinput and games can get almost raw mouse events which do not
depend on actual mouse pointer position. Wine on the other hand works
from X's mouse pointer and we can't allow it to escape our window, or we
loose all events altogether.

Idea for mouse warping algorithm taken from SDL library (LGPL license).

---
 dlls/winex11.drv/mouse.c |   78 +++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 70 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 31e7ddf196eb6eea3d6a8faba648592dc66f8bf7.diff
Type: text/x-patch
Size: 4465 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061005/60396d51/31e7ddf196eb6eea3d6a8faba648592dc66f8bf7.bin


More information about the wine-patches mailing list