From c223472db022b04333dc0336b8551b18cfd00888 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 17 May 2011 13:32:32 -0700 Subject: [PATCH] Fixed issue with moving cursor when icon updates. --- src/main/resources/guacamole.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/guacamole.js b/src/main/resources/guacamole.js index 688f225..5ab4e89 100644 --- a/src/main/resources/guacamole.js +++ b/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 -- 1.7.10.4