Send WM_CONTEXTMENU on WM_RBUTTONUP, not WM_RBUTTONDOWN.
This commit is contained in:
parent
106b08320f
commit
46166178e9
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue