From 70166b1a27260fb79690b92b5a5ce2a1657e33c2 Mon Sep 17 00:00:00 2001 From: mattmcclaskey Date: Thu, 26 Oct 2023 12:44:40 -0400 Subject: [PATCH] fix recursive disaster --- core/rfb.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/rfb.js b/core/rfb.js index 2d24e2f1..f8403e81 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -3963,7 +3963,10 @@ export default class RFB extends EventTargetMixin { }; this._refreshCursor(); - this._proxyRFBMessage('updateCursor', [ rgba, hotx, hoty, w, h ]); + + if (this._isPrimaryDisplay) { + this._proxyRFBMessage('updateCursor', [ rgba, hotx, hoty, w, h ]); + } } _shouldShowDotCursor() {