From 910fd3afc97d33cb95639ae74272ba4f42f7635e Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 7 Sep 2017 16:52:21 +0200 Subject: [PATCH] Fix handling of ExtendedDesktopSize errors --- core/rfb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/rfb.js b/core/rfb.js index 57f3a8e5..2d937d1f 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -2360,10 +2360,10 @@ RFB.encodingHandlers = { } this._notification("Server did not accept the resize request: " + msg, 'normal'); - return true; + } else { + this._resize(this._FBU.width, this._FBU.height); } - this._resize(this._FBU.width, this._FBU.height); this._FBU.bytes = 0; this._FBU.rects -= 1; return true;