From 243d7fdd5fe2160f66096f567b78807ddbc13a75 Mon Sep 17 00:00:00 2001 From: Alexander Zeijlon Date: Wed, 7 May 2025 09:14:47 +0200 Subject: [PATCH] Disable setting showDotCursor in RFB constructor This has been deprecated for around six years now. Let's remove the deprecation warning and disable setting showDotCursor via the options parameter. --- core/rfb.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/rfb.js b/core/rfb.js index e3266cc8..80011e4a 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -300,10 +300,6 @@ export default class RFB extends EventTargetMixin { this._resizeSession = false; this._showDotCursor = false; - if (options.showDotCursor !== undefined) { - Log.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"); - this._showDotCursor = options.showDotCursor; - } this._qualityLevel = 6; this._compressionLevel = 2;