Removed incorrect process queue check in wait_input_idle.

This commit is contained in:
Alexandre Julliard 2005-10-12 21:10:52 +00:00
parent 483320c484
commit 2790923722
1 changed files with 1 additions and 1 deletions

View File

@ -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 );