fix recursive disaster

This commit is contained in:
mattmcclaskey 2023-10-26 12:44:40 -04:00
parent b9f5ce3953
commit 70166b1a27
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -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() {