From 94c67f501fbcfca88f34867255ad08851b862f8d Mon Sep 17 00:00:00 2001 From: Kasm <44181855+kasmtech@users.noreply.github.com> Date: Wed, 21 Apr 2021 20:04:25 -0400 Subject: [PATCH] Remove istouch variable --- core/rfb.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/rfb.js b/core/rfb.js index 0823b991..f5bd4e92 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -1940,13 +1940,6 @@ export default class RFB extends EventTargetMixin { encs.push(encodings.pseudoEncodingCursor); } - //if (supportsCursorURIs() && this._fb_depth == 24){ - // Allow the user to attempt using a local cursor even if they are using a touch device. KASM-395 - if (this.preferLocalCursor || !isTouchDevice){ - encs.push(encodings.pseudoEncodingCursor) - } - //} - RFB.messages.clientEncodings(this._sock, encs); }