Remove istouch variable

This commit is contained in:
Kasm 2021-04-21 20:04:25 -04:00 committed by GitHub
parent 10a7fcb91d
commit 94c67f501f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -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);
}