Fixed issue with moving cursor when icon updates.

This commit is contained in:
Michael Jumper
2011-05-17 13:32:32 -07:00
parent 00d4cf6858
commit 6f80c9f730

View File

@@ -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