Move cursor URI check to RFB object

Keeps the Display object simpler, and avoids having to abuse a
property to transfer the information.
This commit is contained in:
Pierre Ossman
2017-10-14 16:49:07 +02:00
parent 134ec26ee0
commit fdff59eeb4
5 changed files with 2 additions and 45 deletions

View File

@@ -43,11 +43,3 @@ export function browserSupportsCursorURIs () {
return _cursor_uris_supported;
};
export function _forceCursorURIs(enabled) {
if (enabled === undefined || enabled) {
_cursor_uris_supported = true;
} else {
_cursor_uris_supported = false;
}
}