mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 583411 Process contextmenu key events correctly on Win64 r=jimm a=joedrew
This commit is contained in:
parent
5c7c4740b3
commit
85d60c2a2b
@ -4882,10 +4882,10 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM &wParam, LPARAM &lParam,
|
||||
case WM_CONTEXTMENU:
|
||||
{
|
||||
// if the context menu is brought up from the keyboard, |lParam|
|
||||
// will be maxlong.
|
||||
// will be -1.
|
||||
LPARAM pos;
|
||||
PRBool contextMenukey = PR_FALSE;
|
||||
if (lParam == 0xFFFFFFFF)
|
||||
if (lParam == -1)
|
||||
{
|
||||
contextMenukey = PR_TRUE;
|
||||
pos = lParamToClient(GetMessagePos());
|
||||
|
Loading…
Reference in New Issue
Block a user