[PATCH 4/4] winemac: Send WM_{ENTER, EXIT}SIZEMOVE before/after window dragging and run an internal event loop during.

Ken Thomases ken at codeweavers.com
Wed Dec 11 12:50:55 CST 2013


This simulates some of what would happen if user32 were managing the drag.  The
click in the caption would cause WM_SYSCOMMAND/SC_MOVE.  The processing of that
message is synchronous and doesn't return until the move is complete.

Some games require that "blocking" in the internal event loop to prevent them
from misbehaving during the drag.
---
dlls/winemac.drv/cocoa_app.m    |   13 +++++++
dlls/winemac.drv/event.c        |   13 ++++++-
dlls/winemac.drv/macdrv.h       |    3 ++
dlls/winemac.drv/macdrv_cocoa.h |    2 +
dlls/winemac.drv/window.c       |   73 +++++++++++++++++++++++++++++++++++++-
5 files changed, 101 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-winemac-Send-WM_-ENTER-EXIT-SIZEMOVE-before-after-wi.patch
Type: text/x-patch
Size: 8008 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131211/cbac6585/attachment.bin>


More information about the wine-patches mailing list