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,8 +3963,11 @@ export default class RFB extends EventTargetMixin {
}; };
this._refreshCursor(); this._refreshCursor();
if (this._isPrimaryDisplay) {
this._proxyRFBMessage('updateCursor', [ rgba, hotx, hoty, w, h ]); this._proxyRFBMessage('updateCursor', [ rgba, hotx, hoty, w, h ]);
} }
}
_shouldShowDotCursor() { _shouldShowDotCursor() {
// Called when this._cursorImage is updated // Called when this._cursorImage is updated