winemac: Convert the QUERY_RESIZE_END query to an event, WINDOW_RESIZE_ENDED.

Ken Thomases ken at codeweavers.com
Thu Oct 31 19:16:42 CDT 2013


Queries can be run out of order because the main thread is waiting on the
response.  The main thread didn't really need a response from QUERY_RESIZE_END.
It was only a query for symmetry with QUERY_RESIZE_START.

However, it could end up being processed before the last WINDOW_FRAME_CHANGED
event for a resize, causing WM_EXITSIZEMOVE to be sent too early.
---
dlls/winemac.drv/cocoa_window.m |  9 +++------
dlls/winemac.drv/event.c        |  9 +++++----
dlls/winemac.drv/macdrv.h       |  2 +-
dlls/winemac.drv/macdrv_cocoa.h |  2 +-
dlls/winemac.drv/window.c       | 25 ++++++++++++-------------
5 files changed, 22 insertions(+), 25 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac-Convert-the-QUERY_RESIZE_END-query-to-an-eve.patch
Type: text/x-patch
Size: 4936 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131031/08976445/attachment.bin>


More information about the wine-patches mailing list