Ticket 254: Put in fix for chrome bug 108404. Automatically release key if a keydown is recieved while meta is held down.

This commit is contained in:
James Muehlner
2013-01-24 19:08:17 -08:00
parent 339dc3dcc8
commit 7ffff054a8

View File

@@ -479,6 +479,11 @@ Guacamole.Keyboard = function(element) {
if (keysym != null) {
keydownChar[keynum] = keysym;
press_key(keysym);
// If a key is pressed while meta is held down, the keyup will never be sent in Chrome, so send it now. (bug #108404)
if(guac_keyboard.modifiers.meta) {
release_key(keysym);
}
}
}