winex11drv: Grub pointer in suitable window in ClipCursor.

Vitaliy Margolen wine-patches at
Tue Jan 23 17:32:44 CST 2007

This is the next attempt at addressing issues pointed out by Alexandre.

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

Changes from last try:
- Always send internal message to (un)grab window. This should stop races.
- Move grabbed window's hwnd into function. It doesn't have to be global.
 dlls/winex11.drv/event.c  |    2 +
 dlls/winex11.drv/mouse.c  |   66 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/winex11.drv/x11drv.h |    4 ++-
 3 files changed, 71 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00d495bc77b9342fe7e5ca24a0edb09f46421243.diff
Type: text/x-patch
Size: 4004 bytes
Desc: not available
Url :

More information about the wine-patches mailing list