winex11drv: Grub pointer in suitable window in ClipCursor

Vitaliy Margolen wine-patches at kievinfo.com
Mon Jan 15 15:16:42 CST 2007


If clip rectangle specifies a none empty rectangle that is smaller then the
whole screen grab the pointer if we can find the window that clip rectangle
entirely fits in.

Changes from last try:
- If the window belongs to another thread - send internal message instead of
failing.
- Store grabbed window's hwnd in a global variable so we can ungrab it.
---
 dlls/winex11.drv/event.c  |    2 +
 dlls/winex11.drv/mouse.c  |   60 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/winex11.drv/x11drv.h |    3 +-
 3 files changed, 64 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a347e5e190986f765592b329fdb400ddf4fbca85.diff
Type: text/x-patch
Size: 3638 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070115/d3644266/a347e5e190986f765592b329fdb400ddf4fbca85-0001.bin


More information about the wine-patches mailing list