GUACAMOLE-2167: Merge fix incorrect handling of the ALTGR key.

This commit is contained in:
Virtually Nick authored and GitHub committed 2025-11-09 19:25:45 -06:00
commit e90430df74
1 file changed
+2 -2
@@ -1519,8 +1519,8 @@ Guacamole.Keyboard.ModifierState.fromKeyboardEvent = function(e) {
// Assign states from old flags // Assign states from old flags
state.shift = e.shiftKey; state.shift = e.shiftKey;
state.ctrl = e.ctrlKey; state.ctrl = e.getModifierState('AltGraph') || e.ctrlKey;
state.alt = e.altKey; state.alt = e.getModifierState('AltGraph') || e.altKey;
state.meta = e.metaKey; state.meta = e.metaKey;
// Use DOM3 getModifierState() for others // Use DOM3 getModifierState() for others