Commit 852fc5f1 authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

Don't map point to parent's client window because the rest of the code

assumes screen coordinates.
parent 4d32a475
......@@ -2966,10 +2966,6 @@ void MENU_TrackMouseMenuBar( HWND hWnd, INT ht, POINT pt )
if (IsMenu(hMenu))
{
/* map point to parent client coordinates */
HWND parent = GetAncestor( hWnd, GA_PARENT );
if (parent != GetDesktopWindow()) ScreenToClient( parent, &pt );
MENU_InitTracking( hWnd, hMenu, FALSE, wFlags );
MENU_TrackMenu( hMenu, wFlags, pt.x, pt.y, hWnd, NULL );
MENU_ExitTracking(hWnd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment