Keyboard protection flag: removes the hiding of the Alt key press (#2603)

This commit is contained in:
Carmelo Messina
2026-01-24 18:19:46 +01:00
parent fac0478f88
commit 6a62f6c5bc
+1 -1
View File
@@ -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);
+