From 67624e190c79193e1dbc008b05039f5662f250c6 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 26 Apr 2015 13:25:34 -0700 Subject: [PATCH] GUAC-661: Reset all keys if keyup received for unknown key. --- guacamole-common-js/src/main/webapp/modules/Keyboard.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guacamole-common-js/src/main/webapp/modules/Keyboard.js b/guacamole-common-js/src/main/webapp/modules/Keyboard.js index 249e084fe..1835740c6 100644 --- a/guacamole-common-js/src/main/webapp/modules/Keyboard.js +++ b/guacamole-common-js/src/main/webapp/modules/Keyboard.js @@ -938,6 +938,8 @@ Guacamole.Keyboard = function(element) { guac_keyboard.release(keysym); first.defaultPrevented = true; } + else + guac_keyboard.reset(); return eventLog.shift();