user32: ClipCursor should use virtual screen resolution for empty/invalid rects.

Vitaliy Margolen wine-patches at kievinfo.com
Thu Dec 14 11:33:51 CST 2006


Change Log:
  ClipCursor should use virtual screen resolution for empty/invalid rects.
  Make x11drv call reset clip rect on screen resolution changes.

If the rect passed to ClipCursor is empty, NULL or invalid, use virtual screen
resolution to reset clip rect to. I took out addition of the ClipCursor to the
x11 driver. I will need it later on for something different.

Also these tests pass on Windows with multi-monitor config.
I could not reliably run tests on Wine with xinerama configuration.

---
 dlls/user32/cursoricon.c    |   19 +++++++++++--------
 dlls/user32/tests/monitor.c |   27 +++++++++++++++++++++++++++
 dlls/winex11.drv/winpos.c   |    1 +
 3 files changed, 39 insertions(+), 8 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecb00c16c7ad53074cefc8c707e41363c9929561.diff
Type: text/x-patch
Size: 3724 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061214/d4fb0b6e/ecb00c16c7ad53074cefc8c707e41363c9929561.bin


More information about the wine-patches mailing list