winemac: Don't process WM_EXITSIZEMOVE through filters in macdrv_window_drag_begin().

This commit is contained in:
Ken Thomases 2015-05-11 21:17:45 -05:00 committed by Alexandre Julliard
parent a88722ab9a
commit eea6ba9ae9
1 changed files with 6 additions and 2 deletions

View File

@ -2193,14 +2193,18 @@ void macdrv_window_drag_begin(HWND hwnd)
while (GetMessageW(&msg, 0, 0, 0)) 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 && if (!CallMsgFilterW(&msg, MSGF_SIZE) && msg.message != WM_KEYDOWN &&
msg.message != WM_MOUSEMOVE && msg.message != WM_LBUTTONDOWN && msg.message != WM_LBUTTONUP) msg.message != WM_MOUSEMOVE && msg.message != WM_LBUTTONDOWN && msg.message != WM_LBUTTONUP)
{ {
TranslateMessage(&msg); TranslateMessage(&msg);
DispatchMessageW(&msg); DispatchMessageW(&msg);
} }
if (msg.message == WM_EXITSIZEMOVE) break;
} }
TRACE("done\n"); TRACE("done\n");