IDEA-315910 don't process key-events by NSMenu items

GitOrigin-RevId: 28b8d792bfe65bf8a468e17a199ca9445155c35f
This commit is contained in:
Artem Bochkarev
2023-04-19 20:26:35 +07:00
committed by intellij-monorepo-bot
parent 97f6055b97
commit ef91229aeb
2 changed files with 7 additions and 2 deletions

Binary file not shown.

View File

@@ -94,6 +94,13 @@ static bool sUpdateInProgress = false; // used only in AppKit
}
}
- (BOOL)menuHasKeyEquivalent:(NSMenu *)menu
forEvent:(NSEvent *)event
target:(id _Nullable *)target
action:(SEL _Nullable *)action {
return NO;
}
//
// Other methods
//
@@ -239,10 +246,8 @@ Java_com_intellij_ui_mac_screenmenu_Menu_nativeInsertItem
}
@interface MenuRefiller : NSObject {
@public
Menu * menu;
jsize length;
long * newItemsPtrs;