From b2cf3b68b35050567f02fc5e21a12c41023a361b Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Fri, 4 Nov 2016 13:00:14 +0100 Subject: [PATCH] requestDesktopSize() should always return a value --- core/rfb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rfb.js b/core/rfb.js index 421bf540..e3238241 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -343,7 +343,7 @@ requestDesktopSize: function (width, height) { if (this._rfb_connection_state !== 'connected' || this._view_only) { - return; + return false; } if (this._supportsSetDesktopSize) {