From 6a62f6c5bcf0936aade1073c2bc9e9f66d24857d Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Sat, 24 Jan 2026 18:19:46 +0100 Subject: [PATCH] Keyboard protection flag: removes the hiding of the Alt key press (#2603) --- build/patches/Keyboard-protection-flag.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/patches/Keyboard-protection-flag.patch b/build/patches/Keyboard-protection-flag.patch index 27c37992..f7ec824f 100644 --- a/build/patches/Keyboard-protection-flag.patch +++ b/build/patches/Keyboard-protection-flag.patch @@ -186,7 +186,7 @@ diff --git a/third_party/blink/renderer/core/events/keyboard_event.cc b/third_pa + // do not leak status of numlock/capslock/scrolllock/etc + modifiers_ &= ~(WebInputEvent::kSymbolKey | WebInputEvent::kFnKey | + WebInputEvent::kAltGrKey | WebInputEvent::kMetaKey | -+ WebInputEvent::kAltKey | WebInputEvent::kIsKeyPad | ++ /*WebInputEvent::kAltKey |*/ WebInputEvent::kIsKeyPad | + WebInputEvent::kSymbolKey | WebInputEvent::kScrollLockOn | + WebInputEvent::kCapsLockOn | WebInputEvent::kNumLockOn); +