Allow local cursor to be changed while connected

This commit is contained in:
Samuel Mannehed
2017-02-19 01:52:47 +01:00
parent 3a535adab0
commit fb49f91b00
2 changed files with 13 additions and 2 deletions

View File

@@ -1488,6 +1488,12 @@
this._display.disableLocalCursor();
}
}
// Need to send an updated list of encodings if we are connected
if (this._rfb_connection_state === "connected") {
RFB.messages.clientEncodings(this._sock, this._encodings, cursor,
this._true_color);
}
};
RFB.prototype.set_view_only = function (view_only) {