mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- move set of msg-time (for messages) back to msg queue (msg time is needed for all mouse events not only mouse move)
- ClickLock will work again svn path=/trunk/; revision=47917
This commit is contained in:
@@ -179,7 +179,6 @@ BOOL UserSetCursorPos( INT x, INT y, BOOL CallHooks)
|
||||
{
|
||||
PWINDOW_OBJECT DesktopWindow;
|
||||
PSYSTEM_CURSORINFO CurInfo;
|
||||
LARGE_INTEGER LargeTickCount;
|
||||
MSLLHOOKSTRUCT MouseHookData;
|
||||
HDC hDC;
|
||||
MSG Msg;
|
||||
@@ -223,9 +222,6 @@ BOOL UserSetCursorPos( INT x, INT y, BOOL CallHooks)
|
||||
gpsi->ptCursor.x = x;
|
||||
gpsi->ptCursor.y = y;
|
||||
|
||||
KeQueryTickCount(&LargeTickCount);
|
||||
Msg.time = MsqCalculateMessageTime(&LargeTickCount);
|
||||
|
||||
//Move the mouse pointer
|
||||
GreMovePointer(hDC, x, y);
|
||||
|
||||
|
||||
@@ -171,9 +171,12 @@ MsqInitializeImpl(VOID)
|
||||
VOID FASTCALL
|
||||
MsqInsertSystemMessage(MSG* Msg)
|
||||
{
|
||||
LARGE_INTEGER LargeTickCount;
|
||||
KIRQL OldIrql;
|
||||
ULONG Prev;
|
||||
|
||||
KeQueryTickCount(&LargeTickCount);
|
||||
Msg->time = MsqCalculateMessageTime(&LargeTickCount);
|
||||
/*
|
||||
* If we got WM_MOUSEMOVE and there are already messages in the
|
||||
* system message queue, check if the last message is mouse move
|
||||
|
||||
Reference in New Issue
Block a user