Commit eea6ba9a authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

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

parent a88722ab
...@@ -2193,14 +2193,18 @@ void macdrv_window_drag_begin(HWND hwnd) ...@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment