mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-231: Update software cursor location when a "mouse" instruction is received.
This commit is contained in:
@@ -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]);
|
||||||
|
Reference in New Issue
Block a user