Set mouse position in timer messages
authorGé van Geldorp <ge@gse.nl>
Sat, 12 Nov 2005 09:52:06 +0000 (09:52 +0000)
committerGé van Geldorp <ge@gse.nl>
Sat, 12 Nov 2005 09:52:06 +0000 (09:52 +0000)
svn path=/trunk/; revision=19173

reactos/subsys/win32k/ntuser/msgqueue.c

index adf7d7d..d6b4171 100644 (file)
@@ -1805,6 +1805,8 @@ MsqGetTimerMessage(PUSER_MESSAGE_QUEUE MessageQueue,
    Msg->message = Timer->Msg;
    Msg->wParam = (WPARAM) Timer->IDEvent;
    Msg->lParam = (LPARAM) Timer->TimerFunc;
+   IntGetCursorLocation(PsGetWin32Thread()->Desktop->WindowStation,
+                        &Msg->pt);
 
    if (Restart)
    {