mirror of
https://github.com/reactos/wine.git
synced 2025-02-04 19:18:00 +00:00
Altered WM_MOUSEHOVER so the lParam and wParam fields are set
correctly to virtual key states and cursor position.
This commit is contained in:
parent
b31af31cbf
commit
43a0a51540
@ -972,7 +972,8 @@ static void CALLBACK TrackMouseEventProc(HWND hwndUnused, UINT uMsg, UINT_PTR id
|
||||
/* has the mouse hovered long enough? */
|
||||
if(TrackingList[i].iHoverTime <= TrackingList[i].tme.dwHoverTime)
|
||||
{
|
||||
PostMessageA(TrackingList[i].tme.hwndTrack, WM_MOUSEHOVER, 0, 0);
|
||||
PostMessageW(TrackingList[i].tme.hwndTrack, WM_MOUSEHOVER,
|
||||
get_key_state(), MAKELPARAM( pos.x, pos.y ));
|
||||
|
||||
/* stop tracking mouse hover */
|
||||
TrackingList[i].tme.dwFlags ^= TME_HOVER;
|
||||
|
Loading…
x
Reference in New Issue
Block a user