Commit ba8cdfdc authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ole: Re-post the quit message outside of the DoDragDrop message loop.

parent 89846948
......@@ -526,6 +526,8 @@ HRESULT WINAPI DoDragDrop (
*/
SetCapture(hwndTrackWindow);
msg.message = 0;
/*
* Pump messages. All mouse input should go the the capture window.
*/
......@@ -564,6 +566,9 @@ HRESULT WINAPI DoDragDrop (
}
}
/* re-post the quit message to outer message loop */
if (msg.message == WM_QUIT)
PostQuitMessage(msg.wParam);
/*
* Destroy the temporary window.
*/
......
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