diff --git a/guacamole-common-js/src/main/resources/guacamole.js b/guacamole-common-js/src/main/resources/guacamole.js index 688f22560..5ab4e8970 100644 --- a/guacamole-common-js/src/main/resources/guacamole.js +++ b/guacamole-common-js/src/main/resources/guacamole.js @@ -309,7 +309,10 @@ function GuacamoleClient(display, tunnel) { cursorImage = image; cursorHotspotX = x; cursorHotspotY = y; - redrawCursor(cursorRectX, cursorRectY); + redrawCursor( + cursorRectX + cursorHotspotX, + cursorRectY + cursorHotspotY + ); }; image.src = "data:image/png;base64," + data