mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Update server width based on desktop size.
This commit is contained in:
parent
ced0bf99a7
commit
d5bfcb16d4
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ VncConnection.prototype.writeFramebufferUpdate = function(rectangles) {
|
|||
this._write(rect.data)
|
||||
break
|
||||
case VncConnection.ENCODING_DESKTOPSIZE:
|
||||
this._serverWidth = rect.width
|
||||
this._serverHeight = rect.height
|
||||
break
|
||||
default:
|
||||
throw new Error(util.format(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue