- Fixed right click on title bar. See CORE-7054.

svn path=/trunk/; revision=62770
This commit is contained in:
James Tabor 2014-04-17 22:48:14 +00:00
parent 8f32653a21
commit f398c22dbe

View file

@ -1135,8 +1135,8 @@ LRESULT NC_HandleNCRButtonDown( HWND hwnd, WPARAM wParam, LPARAM lParam )
ReleaseCapture();
if (hittest == HTCAPTION || hittest == HTSYSMENU)
{
ERR("Msg pt %x and Msg.lParam %x and lParam %x\n",MAKELONG(msg.pt.x,msg.pt.y),msg.lParam,lParam);
SendMessageW( hwnd, WM_SYSCOMMAND, SC_MOUSEMENU + HTSYSMENU, msg.lParam );
TRACE("Msg pt %x and Msg.lParam %x and lParam %x\n",MAKELONG(msg.pt.x,msg.pt.y),msg.lParam,lParam);
SendMessageW( hwnd, WM_CONTEXTMENU, (WPARAM)hwnd, MAKELONG(msg.pt.x,msg.pt.y));
}
break;
}