[PATCH 1/2] winex11.drv: Use ClipCursor to grab/ungrab the pointer.

Vitaliy Margolen wine-patches at kievinfo.com
Sun Sep 30 13:05:42 CDT 2007


Re-diffed against HEAD.

Try 6: Ungrab pointer on window destruction. Move some more code into helper.
Try 5: Combined with ClipCursor.
Try 4: Rewrote whole thing using helper function and switching_to static var to
deal with races.
Try 3: No recursion, don't export mouse_grab_pointer.
Try 2: Use more locking.
---
 dlls/winex11.drv/event.c  |    3 +
 dlls/winex11.drv/mouse.c  |  121 ++++++++++++++++++++++++++++++++++++++++++++-
 dlls/winex11.drv/window.c |    6 ++
 dlls/winex11.drv/x11drv.h |    5 ++-
 4 files changed, 133 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c2c972770c0b17f94a9f1aba427e1bcc685b3a5d.diff
Type: text/x-patch
Size: 6050 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070930/c419b012/attachment.bin 


More information about the wine-patches mailing list