Wake the WIN32 loop from all input

This commit is contained in:
Dr. Chat 2016-08-09 10:45:00 -05:00
parent 976a317293
commit abf162c0e3
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void Win32Loop::ThreadMain() {
MSG msg;
while (!should_exit_) {
DWORD result =
MsgWaitForMultipleObjectsEx(0, nullptr, INFINITE, QS_ALLEVENTS, 0);
MsgWaitForMultipleObjectsEx(0, nullptr, INFINITE, QS_ALLINPUT, 0);
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
TranslateMessage(&msg);