conhost: Use QS_ALLINPUT to wait for input in main loop.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50014 Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
14b50ee1b8
commit
8a47ef28ca
|
@ -2625,7 +2625,7 @@ static int main_loop( struct console *console, HANDLE signal )
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if (pump_msgs)
|
if (pump_msgs)
|
||||||
res = MsgWaitForMultipleObjects( wait_cnt, wait_handles, FALSE, INFINITE, QS_ALLEVENTS );
|
res = MsgWaitForMultipleObjects( wait_cnt, wait_handles, FALSE, INFINITE, QS_ALLINPUT );
|
||||||
else
|
else
|
||||||
res = WaitForMultipleObjects( wait_cnt, wait_handles, FALSE, INFINITE );
|
res = WaitForMultipleObjects( wait_cnt, wait_handles, FALSE, INFINITE );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue