Commit 8a47ef28 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

conhost: Use QS_ALLINPUT to wait for input in main loop.

parent 14b50ee1
......@@ -2625,7 +2625,7 @@ static int main_loop( struct console *console, HANDLE signal )
for (;;)
{
if (pump_msgs)
res = MsgWaitForMultipleObjects( wait_cnt, wait_handles, FALSE, INFINITE, QS_ALLEVENTS );
res = MsgWaitForMultipleObjects( wait_cnt, wait_handles, FALSE, INFINITE, QS_ALLINPUT );
else
res = WaitForMultipleObjects( wait_cnt, wait_handles, FALSE, INFINITE );
......
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