GUACAMOLE-232: Fall back to using recent keysym only after failing to determine released key by keycode.
This commit is contained in:
1 parent
035813ff0b
commit
8c096778bc
1 file changed
+2
-2
@@ -386,8 +386,8 @@ Guacamole.Keyboard = function Keyboard(element) {
|
||||
this.location = location;
|
||||
|
||||
// If key is known from keyCode or DOM3 alone, use that
|
||||
this.keysym = recentKeysym[keyCode]
|
||||
|| keysym_from_keycode(keyCode, location)
|
||||
this.keysym = keysym_from_keycode(keyCode, location)
|
||||
|| recentKeysym[keyCode]
|
||||
|| keysym_from_key_identifier(key, location); // keyCode is still more reliable for keyup when dead keys are in use
|
||||
|
||||
// Keyup is as reliable as it will ever be
|
||||
|
||||
Reference in new issue
Block a user