mirror of
https://github.com/reactos/wine.git
synced 2025-01-27 06:53:49 +00:00
ole: Re-post the quit message outside of the DoDragDrop message loop.
This commit is contained in:
parent
89846948e3
commit
ba8cdfdc37
@ -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…
x
Reference in New Issue
Block a user