mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 16:26:08 +00:00
wineconsole: Properly handle negative coordinates for mouse events.
This commit is contained in:
parent
5b875279d1
commit
f51c400436
@ -1177,8 +1177,8 @@ static LRESULT CALLBACK WCUSER_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM
|
||||
{
|
||||
POINT pt;
|
||||
|
||||
pt.x = LOWORD(lParam);
|
||||
pt.y = HIWORD(lParam);
|
||||
pt.x = (short)LOWORD(lParam);
|
||||
pt.y = (short)HIWORD(lParam);
|
||||
ClientToScreen(hWnd, &pt);
|
||||
WCUSER_SetMenuDetails(data, PRIVATE(data)->hPopMenu);
|
||||
TrackPopupMenu(PRIVATE(data)->hPopMenu, TPM_LEFTALIGN|TPM_TOPALIGN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user