]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Disable window default menu (ALT+Space) if input is captured.
authorToni Wilen <twilen@winuae.net>
Sat, 31 Oct 2020 11:08:56 +0000 (13:08 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 31 Oct 2020 11:08:56 +0000 (13:08 +0200)
od-win32/win32.cpp

index 2eda4d42641dd7a07db34e9fa7e57f1adc740af4..a666bfebde8546ae0b7c87d65cb4b880e64c501f 100644 (file)
@@ -2429,6 +2429,10 @@ static LRESULT CALLBACK AmigaWindowProc(HWND hWnd, UINT message, WPARAM wParam,
                                monitor_off = 1;
                        break;
 
+               case SC_KEYMENU:
+                       if (HIWORD(lParam) <= 0 && isfocus() > 1)
+                               return 0;
+                       break;
                default:
                {
                        LRESULT lr;