SL-16288 FIXED Dragging a file across the viewer cancels the drag and freezes the File Explorer

master
Mnikolenko Productengine 2021-11-05 17:48:40 +02:00
parent 7cdaebaefe
commit b6afa7f7dd
1 changed files with 11 additions and 0 deletions

View File

@ -2202,6 +2202,17 @@ void LLWindowWin32::gatherInput()
}
}
{
LL_PROFILE_ZONE_NAMED("gi - PeekMessage");
S32 msg_count = 0;
while ((msg_count < MAX_MESSAGE_PER_UPDATE) && PeekMessage(&msg, NULL, WM_USER, WM_USER, PM_REMOVE))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
msg_count++;
}
}
{
LL_PROFILE_ZONE_NAMED("gi - function queue");
//process any pending functions