https://bugs.winehq.org/show_bug.cgi?id=52327 Bug ID: 52327 Summary: Wrong WM_CONTEXTMENU default message processing Product: Wine-staging Version: 7.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: yal(a)csoftcom.com CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- wine_master\dlls\user32\defwnd.c:323 wParam must point to _current_ child window hwnd when default process this message. https://docs.microsoft.com/en-us/windows/win32/menurc/wm-contextmenu case WM_CONTEXTMENU: if (GetWindowLongW( hwnd, GWL_STYLE ) & WS_CHILD) SendMessageW( GetParent(hwnd), msg, wParam, lParam );<=wParam must be this hwnd else -------------------------------------------------------------- case WM_CONTEXTMENU: if (GetWindowLongW( hwnd, GWL_STYLE ) & WS_CHILD) SendMessageW( GetParent(hwnd), msg, (WPARAM)hwnd, lParam ); else -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.