GUACAMOLE-231: Merge client handling for mouse instruction
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 @@
},
+ "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]);