8 Jun
2015
8 Jun
'15
8:43 a.m.
Alex Henrie <alexhenrie24(a)gmail.com> writes:
@@ -4121,6 +4121,10 @@ LRESULT ME_HandleMessage(ME_TextEditor *editor, UINT msg, WPARAM wParam, return 0; case WM_SETCURSOR: { + POINT cursor_pos; + if (wParam == (WPARAM)editor->hWnd && GetCursorPos(&cursor_pos) && + ScreenToClient(editor->hWnd, &cursor_pos)) + ME_LinkNotify(editor, msg, 0, MAKELPARAM(cursor_pos.x, cursor_pos.y));
Getting the current cursor position doesn't look right, it should be the message position. -- Alexandre Julliard julliard(a)winehq.org