Fix handling of ExtendedDesktopSize errors

This commit is contained in:
Pierre Ossman 2017-09-07 16:52:21 +02:00
parent 91d5c62589
commit 910fd3afc9
1 changed files with 2 additions and 2 deletions

View File

@ -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;