GUACAMOLE-231: Merge client handling for mouse instruction

This commit is contained in:
James Muehlner
2017-03-13 21:52:31 -07:00

View File

@@ -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) { "move": function(parameters) {
var layer_index = parseInt(parameters[0]); var layer_index = parseInt(parameters[0]);