You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/10/03 17:34:45 UTC

[3/6] guacamole-client git commit: GUACAMOLE-232: Reset tracking of recent keysym after key is released.

GUACAMOLE-232: Reset tracking of recent keysym after key is released.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/6f0787f0
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/6f0787f0
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/6f0787f0

Branch: refs/heads/staging/1.0.0
Commit: 6f0787f0c13d187498ae0055c1963fe922832d19
Parents: 8c09677
Author: Michael Jumper <mj...@apache.org>
Authored: Tue Oct 2 22:19:40 2018 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Tue Oct 2 22:19:40 2018 -0700

----------------------------------------------------------------------
 guacamole-common-js/src/main/webapp/modules/Keyboard.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/6f0787f0/guacamole-common-js/src/main/webapp/modules/Keyboard.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/Keyboard.js b/guacamole-common-js/src/main/webapp/modules/Keyboard.js
index 83e7944..a4ebe36 100644
--- a/guacamole-common-js/src/main/webapp/modules/Keyboard.js
+++ b/guacamole-common-js/src/main/webapp/modules/Keyboard.js
@@ -1149,6 +1149,7 @@ Guacamole.Keyboard = function Keyboard(element) {
             var keysym = first.keysym;
             if (keysym) {
                 guac_keyboard.release(keysym);
+                delete recentKeysym[first.keyCode];
                 first.defaultPrevented = true;
             }