I'm using javascript Apache Guacamole Client on my website for RDP control. I've faced a problem - on window resize display wasn't resized. I've tried to use "scale" method of Guacamole Display:
guac = new Guacamole.Client(tunnel);
...
guac.getDisplay().scale(myScale);
This method changes display size. However when the resize is performed, mouse coordinates are kept as they were on client. So mouse pointer on client and on web screen are not matched.