bbennett-ks commented on code in PR #1164:
URL: https://github.com/apache/guacamole-client/pull/1164#discussion_r2829151387


##########
guacamole-common-js/src/main/webapp/modules/Keyboard.js:
##########
@@ -1514,13 +1747,13 @@ Guacamole.Keyboard.ModifierState = function() {
  *     The current state of keyboard modifiers.
  */
 Guacamole.Keyboard.ModifierState.fromKeyboardEvent = function(e) {
-
+    
     var state = new Guacamole.Keyboard.ModifierState();
 
     // Assign states from old flags
     state.shift = e.shiftKey;
-    state.ctrl  = e.getModifierState('AltGraph') || e.ctrlKey;
-    state.alt   = e.getModifierState('AltGraph') || e.altKey;
+    state.ctrl  = e.ctrlKey;
+    state.alt   = e.altKey;

Review Comment:
   Done!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to