Commit 46166178 authored by Abey George's avatar Abey George Committed by Alexandre Julliard

Send WM_CONTEXTMENU on WM_RBUTTONUP, not WM_RBUTTONDOWN.

parent 106b0832
...@@ -205,8 +205,8 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam, ...@@ -205,8 +205,8 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
case WM_NCLBUTTONDBLCLK: case WM_NCLBUTTONDBLCLK:
return NC_HandleNCLButtonDblClk( wndPtr, wParam, lParam ); return NC_HandleNCLButtonDblClk( wndPtr, wParam, lParam );
case WM_RBUTTONDOWN: case WM_RBUTTONUP:
case WM_NCRBUTTONDOWN: case WM_NCRBUTTONUP:
if ((wndPtr->flags & WIN_ISWIN32) || (TWEAK_WineLook > WIN31_LOOK)) if ((wndPtr->flags & WIN_ISWIN32) || (TWEAK_WineLook > WIN31_LOOK))
{ {
ClientToScreen16(wndPtr->hwndSelf, (LPPOINT16)&lParam); ClientToScreen16(wndPtr->hwndSelf, (LPPOINT16)&lParam);
......
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