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) {