(Windows Frontend) Ignore the menu key if the main window has no menu
This commit is contained in:
parent
775e3ae91a
commit
9314fc2d5e
|
@ -5232,6 +5232,8 @@ DOKEYDOWN:
|
|||
if(wParam != VK_PAUSE)
|
||||
break;
|
||||
case WM_SYSKEYUP:
|
||||
if (wParam == VK_MENU && GetMenu(hwnd) == NULL)
|
||||
return 0;
|
||||
case WM_CUSTKEYUP:
|
||||
{
|
||||
int modifiers = GetModifiers(wParam);
|
||||
|
|
Loading…
Reference in New Issue