Application should hide cursor. Do not require CSS class definitions.
This commit is contained in:
1 parent
f6bf6c4aaa
commit
ebc5caac28
1 file changed
-8
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user