From 6f80c9f7305f15df9bb450c2228f885ee4690878 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. --- guacamole-common-js/src/main/resources/guacamole.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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