Removed incorrect process queue check in wait_input_idle.
This commit is contained in:
parent
483320c484
commit
2790923722
|
@ -1168,7 +1168,7 @@ DECL_HANDLER(wait_input_idle)
|
||||||
reply->event = 0;
|
reply->event = 0;
|
||||||
if ((process = get_process_from_handle( req->handle, PROCESS_QUERY_INFORMATION )))
|
if ((process = get_process_from_handle( req->handle, PROCESS_QUERY_INFORMATION )))
|
||||||
{
|
{
|
||||||
if (process->idle_event && process != current->process && process->queue != current->queue)
|
if (process->idle_event && process != current->process)
|
||||||
reply->event = alloc_handle( current->process, process->idle_event,
|
reply->event = alloc_handle( current->process, process->idle_event,
|
||||||
EVENT_ALL_ACCESS, 0 );
|
EVENT_ALL_ACCESS, 0 );
|
||||||
release_object( process );
|
release_object( process );
|
||||||
|
|
Loading…
Reference in New Issue