From cd74793b443cb31e33ca71c63e3cdcce9f10df43 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 8 Sep 2017 11:18:47 +0200 Subject: [PATCH] Always hide local cursor initally We don't know if the server will support a client side cursor, so we have to assume a server side one to start with. --- core/rfb.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/rfb.js b/core/rfb.js index 35ee62ba..ffa22ca8 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -1084,6 +1084,10 @@ RFB.prototype = { this._timing.fbu_rt_start = (new Date()).getTime(); this._timing.pixels = 0; + // Cursor will be server side until the server decides to honor + // our request and send over the cursor image + this._display.disableLocalCursor(); + this._updateConnectionState('connected'); return true; },