user32/winex11: Move CursorClip functionality from user32 to winex11.

Vitaliy Margolen wine-patches at kievinfo.com
Sun Nov 26 10:53:52 CST 2006


Change Log:
  user32/winex11: Move CursorClip functionality from user32 to winex11.

It seems number of games using GetClipCursor() to query display size
(instead of system metrics). The reason it's moved to x11drv is that
it should be used to clip cursor there. Also it can even be used to
grub pointer.

The reason for test being in ddraw is so they test all video modes and
keep display resolution switching in one place in our tests.

This fixes bug 1064.

Vitaliy Margolen

---
 dlls/ddraw/tests/ddrawmodes.c     |   30 +++++++++++++++++++++++++++++-
 dlls/user32/cursoricon.c          |   13 ++-----------
 dlls/user32/driver.c              |   26 ++++++++++++++++++++++++++
 dlls/user32/user_private.h        |    2 ++
 dlls/winex11.drv/mouse.c          |   33 +++++++++++++++++++++++++++++++++
 dlls/winex11.drv/settings.c       |    6 ++++++
 dlls/winex11.drv/winex11.drv.spec |    2 ++
 dlls/winex11.drv/x11drv.h         |    1 +
 8 files changed, 101 insertions(+), 12 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb45eef171562f3a8552c7289e476d561413c6f4.diff
Type: text/x-patch
Size: 8924 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061126/104b7bb4/bb45eef171562f3a8552c7289e476d561413c6f4-0001.bin


More information about the wine-patches mailing list