mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 18:01:07 +00:00
[Win32SS]
- Fix all wine win:test_GetMessagePos tests. - See CORE-10867, please verify this is a fix. svn path=/trunk/; revision=70782
This commit is contained in:
parent
c87591d771
commit
c8fff05661
|
@ -1982,6 +1982,14 @@ co_MsqPeekHardwareMessage(IN PTHREADINFO pti,
|
|||
if (AcceptMessage)
|
||||
{
|
||||
*pMsg = msg;
|
||||
// Fix all but one wine win:test_GetMessagePos WM_TIMER tests. See PostTimerMessages.
|
||||
if (!RtlEqualMemory(&pti->ptLast, &msg.pt, sizeof(POINT)))
|
||||
{
|
||||
pti->TIF_flags |= TIF_MSGPOSCHANGED;
|
||||
}
|
||||
pti->ptLast = msg.pt;
|
||||
pti->timeLast = msg.time;
|
||||
MessageQueue->ExtraInfo = ExtraInfo;
|
||||
Ret = TRUE;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -415,6 +415,8 @@ PostTimerMessages(PWND Window)
|
|||
Msg.message = (pTmr->flags & TMRF_SYSTEM) ? WM_SYSTIMER : WM_TIMER;
|
||||
Msg.wParam = (WPARAM) pTmr->nID;
|
||||
Msg.lParam = (LPARAM) pTmr->pfn;
|
||||
// Fix all wine win:test_GetMessagePos WM_TIMER tests. See CORE-10867.
|
||||
Msg.pt = gpsi->ptCursor;
|
||||
|
||||
MsqPostMessage(pti, &Msg, FALSE, (QS_POSTMESSAGE|QS_ALLPOSTMESSAGE), 0, 0);
|
||||
pTmr->flags &= ~TMRF_READY;
|
||||
|
|
Loading…
Reference in a new issue