mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Reverted r680.
This commit is contained in:
parent
c2b16bd47d
commit
35174f0f4a
@ -3061,7 +3061,7 @@ LRESULT CMeterWindow::OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
|
|
||||||
if (!m_ClickThrough || keyDown)
|
if (!m_ClickThrough || keyDown)
|
||||||
{
|
{
|
||||||
POINT pos, cpos;
|
POINT pos;
|
||||||
pos.x = (SHORT)LOWORD(lParam);
|
pos.x = (SHORT)LOWORD(lParam);
|
||||||
pos.y = (SHORT)HIWORD(lParam);
|
pos.y = (SHORT)HIWORD(lParam);
|
||||||
|
|
||||||
@ -3072,7 +3072,7 @@ LRESULT CMeterWindow::OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (DoMoveAction(pos.x, pos.y, MOUSE_LEAVE)) ;
|
while (DoMoveAction(pos.x, pos.y, MOUSE_LEAVE)) ;
|
||||||
while (GetCursorPos(&cpos) && WindowFromPoint(cpos) == m_Window && DoMoveAction(pos.x, pos.y, MOUSE_OVER)) ;
|
while (DoMoveAction(pos.x, pos.y, MOUSE_OVER)) ;
|
||||||
|
|
||||||
// Handle buttons
|
// Handle buttons
|
||||||
HandleButtons(pos, BUTTONPROC_MOVE, NULL, true);
|
HandleButtons(pos, BUTTONPROC_MOVE, NULL, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user