From ebc5caac284624cb65bd1ff57ef8abe759f9bb43 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 15 Feb 2012 10:17:27 -0800 Subject: [PATCH] Application should hide cursor. Do not require CSS class definitions. --- guacamole-common-js/src/main/resources/guacamole.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/guacamole-common-js/src/main/resources/guacamole.js b/guacamole-common-js/src/main/resources/guacamole.js index 3881c154f..a9fcbed40 100644 --- a/guacamole-common-js/src/main/resources/guacamole.js +++ b/guacamole-common-js/src/main/resources/guacamole.js @@ -123,18 +123,10 @@ Guacamole.Client = function(tunnel) { var cursorHotspotX = 0; var cursorHotspotY = 0; - var cursorHidden = 0; - function moveCursor(x, y) { var element = cursor.getElement(); - // Hide hardware cursor - if (cursorHidden == 0) { - display.className += " guac-hide-cursor"; - cursorHidden = 1; - } - // Update rect element.style.left = (x - cursorHotspotX) + "px"; element.style.top = (y - cursorHotspotY) + "px";