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/01/16 18:41:59 UTC

[13/23] guacamole-client git commit: GUACAMOLE-352: Explicitly listen to the input sink.

GUACAMOLE-352: Explicitly listen to the input sink.

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

Branch: refs/heads/master
Commit: 86d9cc12489af91d4926d57a45e9d6c4480f178a
Parents: 2d26d24
Author: Michael Jumper <mj...@apache.org>
Authored: Mon Dec 18 10:59:15 2017 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Tue Jan 16 10:20:42 2018 -0800

----------------------------------------------------------------------
 guacamole/src/main/webapp/app/index/controllers/indexController.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/86d9cc12/guacamole/src/main/webapp/app/index/controllers/indexController.js
----------------------------------------------------------------------
diff --git a/guacamole/src/main/webapp/app/index/controllers/indexController.js b/guacamole/src/main/webapp/app/index/controllers/indexController.js
index c4cad66..5237db6 100644
--- a/guacamole/src/main/webapp/app/index/controllers/indexController.js
+++ b/guacamole/src/main/webapp/app/index/controllers/indexController.js
@@ -88,6 +88,7 @@ angular.module('index').controller('indexController', ['$scope', '$injector',
 
     // Create event listeners at the global level
     var keyboard = new Guacamole.Keyboard($document[0]);
+    keyboard.listenTo(sink.getElement());
 
     // Broadcast keydown events
     keyboard.onkeydown = function onkeydown(keysym) {