GUACAMOLE-231: Update software cursor location when a "mouse" instruction is received.

This commit is contained in:
Michael Jumper
2017-03-11 14:41:06 -08:00
parent 6bcb983838
commit 96140d4167

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]);