mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
server: Remove limitation for waiting on idle_event of the current process.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
This commit is contained in:
parent
5ae8bf3d93
commit
c4c30d4615
|
@ -1686,7 +1686,7 @@ DECL_HANDLER(get_process_idle_event)
|
|||
reply->event = 0;
|
||||
if ((process = get_process_from_handle( req->handle, PROCESS_QUERY_INFORMATION )))
|
||||
{
|
||||
if (process->idle_event && process != current->process)
|
||||
if (process->idle_event)
|
||||
reply->event = alloc_handle( current->process, process->idle_event,
|
||||
EVENT_ALL_ACCESS, 0 );
|
||||
release_object( process );
|
||||
|
|
Loading…
Reference in a new issue