From: Gé van Geldorp Date: Sat, 12 Nov 2005 09:52:06 +0000 (+0000) Subject: Set mouse position in timer messages X-Git-Tag: backups/ros-branch-0_2_9@19949~730 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=027b224db35009eb9c949791323ae577b1537990 Set mouse position in timer messages svn path=/trunk/; revision=19173 --- diff --git a/reactos/subsys/win32k/ntuser/msgqueue.c b/reactos/subsys/win32k/ntuser/msgqueue.c index adf7d7d4d68..d6b41710937 100644 --- a/reactos/subsys/win32k/ntuser/msgqueue.c +++ b/reactos/subsys/win32k/ntuser/msgqueue.c @@ -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) {