You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2017/03/14 05:08:38 UTC
[1/2] incubator-guacamole-client git commit: GUACAMOLE-231: Update
software cursor location when a "mouse" instruction is received.
Repository: incubator-guacamole-client
Updated Branches:
refs/heads/staging/0.9.12-incubating 4a0de7fcc -> ac7ccbf60
GUACAMOLE-231: Update software cursor location when a "mouse" instruction is received.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/96140d41
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/96140d41
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/96140d41
Branch: refs/heads/staging/0.9.12-incubating
Commit: 96140d41679c562c4ed4df7209ebd8c0fa2600b3
Parents: 6bcb983
Author: Michael Jumper <mj...@apache.org>
Authored: Sat Mar 11 14:41:06 2017 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Sat Mar 11 14:41:06 2017 -0800
----------------------------------------------------------------------
guacamole-common-js/src/main/webapp/modules/Client.js | 11 +++++++++++
1 file changed, 11 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/96140d41/guacamole-common-js/src/main/webapp/modules/Client.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/Client.js b/guacamole-common-js/src/main/webapp/modules/Client.js
index cb9f014..2bf8144 100644
--- a/guacamole-common-js/src/main/webapp/modules/Client.js
+++ b/guacamole-common-js/src/main/webapp/modules/Client.js
@@ -1037,6 +1037,17 @@ Guacamole.Client = function(tunnel) {
},
+ "mouse" : function handleMouse(parameters) {
+
+ var x = parseInt(parameters[0]);
+ var y = parseInt(parameters[1]);
+
+ // Display and move software cursor to received coordinates
+ display.showCursor(true);
+ display.moveCursor(x, y);
+
+ },
+
"move": function(parameters) {
var layer_index = parseInt(parameters[0]);
[2/2] incubator-guacamole-client git commit: GUACAMOLE-231: Merge
client handling for mouse instruction
Posted by jm...@apache.org.
GUACAMOLE-231: Merge client handling for mouse instruction
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/ac7ccbf6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/ac7ccbf6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/ac7ccbf6
Branch: refs/heads/staging/0.9.12-incubating
Commit: ac7ccbf606b85fabe88770103fa3897f4ab41d6c
Parents: 4a0de7f 96140d4
Author: James Muehlner <ja...@guac-dev.org>
Authored: Mon Mar 13 21:52:31 2017 -0700
Committer: James Muehlner <ja...@guac-dev.org>
Committed: Mon Mar 13 21:52:31 2017 -0700
----------------------------------------------------------------------
guacamole-common-js/src/main/webapp/modules/Client.js | 11 +++++++++++
1 file changed, 11 insertions(+)
----------------------------------------------------------------------