Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Invalid
-
None
-
None
-
None
Description
I'm using guacamole-common-js to write a JS client to connect to a remote desktop via VNC protocol. Following is the code I use to add Guacamole client to the display div. I'm using the scale() function to scale the VNC window.
var display = document.getElementById("display");
var guac = new Guacamole.Client(new Guacamole.HTTPTunnel("tunnel"));
display.appendChild(guac.getDisplay().getElement());
display.scale(0.9);
When I do this the mouse cursor is going out of sync. There is a gap between the actual cursor and the remote cursor. I could fix this by correcting the mouse position in the sendMouseState() function of Client module. I have attached the scaleFix.diff file which includes this fix. I hope this would be useful.