ole: Re-post the quit message outside of the DoDragDrop message loop.
This commit is contained in:
parent
89846948e3
commit
ba8cdfdc37
dlls/ole32
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue