mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 06:41:41 +00:00
server: Set the idle event when retrieving a timer message.
This commit is contained in:
parent
92e704edc5
commit
7265e89226
|
@ -12038,7 +12038,7 @@ static const struct
|
||||||
{ WAIT_TIMEOUT, WAIT_TIMEOUT, FALSE },
|
{ WAIT_TIMEOUT, WAIT_TIMEOUT, FALSE },
|
||||||
{ 0, 0, FALSE },
|
{ 0, 0, FALSE },
|
||||||
{ 0, 0, FALSE },
|
{ 0, 0, FALSE },
|
||||||
/* 10 */ { 0, 0, TRUE },
|
/* 10 */ { 0, 0, FALSE },
|
||||||
{ 0, 0, FALSE },
|
{ 0, 0, FALSE },
|
||||||
{ 0, WAIT_TIMEOUT, FALSE },
|
{ 0, WAIT_TIMEOUT, FALSE },
|
||||||
{ 0, 0, FALSE },
|
{ 0, 0, FALSE },
|
||||||
|
|
|
@ -1814,6 +1814,8 @@ DECL_HANDLER(get_message)
|
||||||
reply->wparam = timer->id;
|
reply->wparam = timer->id;
|
||||||
reply->lparam = timer->lparam;
|
reply->lparam = timer->lparam;
|
||||||
reply->time = get_tick_count();
|
reply->time = get_tick_count();
|
||||||
|
if (!(req->flags & PM_NOYIELD) && current->process->idle_event)
|
||||||
|
set_event( current->process->idle_event );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue