Ken Thomases : winemac: Don' t process WM_EXITSIZEMOVE through filters in macdrv_window_drag_begin().
Module: wine Branch: master Commit: eea6ba9ae9353b512c3ac5d08376968211666ccf URL: http://source.winehq.org/git/wine.git/?a=commit;h=eea6ba9ae9353b512c3ac5d083... Author: Ken Thomases <ken(a)codeweavers.com> Date: Mon May 11 21:17:45 2015 -0500 winemac: Don't process WM_EXITSIZEMOVE through filters in macdrv_window_drag_begin(). --- dlls/winemac.drv/window.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dlls/winemac.drv/window.c b/dlls/winemac.drv/window.c index 7a777e6..c67ccd0 100644 --- a/dlls/winemac.drv/window.c +++ b/dlls/winemac.drv/window.c @@ -2193,14 +2193,18 @@ void macdrv_window_drag_begin(HWND hwnd) while (GetMessageW(&msg, 0, 0, 0)) { + if (msg.message == WM_EXITSIZEMOVE) + { + SendMessageW(hwnd, WM_EXITSIZEMOVE, 0, 0); + break; + } + if (!CallMsgFilterW(&msg, MSGF_SIZE) && msg.message != WM_KEYDOWN && msg.message != WM_MOUSEMOVE && msg.message != WM_LBUTTONDOWN && msg.message != WM_LBUTTONUP) { TranslateMessage(&msg); DispatchMessageW(&msg); } - - if (msg.message == WM_EXITSIZEMOVE) break; } TRACE("done\n");
participants (1)
-
Alexandre Julliard