requestDesktopSize() should always return a value
This commit is contained in:
parent
80b7dde665
commit
b2cf3b68b3
|
@ -343,7 +343,7 @@
|
||||||
requestDesktopSize: function (width, height) {
|
requestDesktopSize: function (width, height) {
|
||||||
if (this._rfb_connection_state !== 'connected' ||
|
if (this._rfb_connection_state !== 'connected' ||
|
||||||
this._view_only) {
|
this._view_only) {
|
||||||
return;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._supportsSetDesktopSize) {
|
if (this._supportsSetDesktopSize) {
|
||||||
|
|
Loading…
Reference in New Issue