mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +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)
|
this._write(rect.data)
|
||||||
break
|
break
|
||||||
case VncConnection.ENCODING_DESKTOPSIZE:
|
case VncConnection.ENCODING_DESKTOPSIZE:
|
||||||
|
this._serverWidth = rect.width
|
||||||
|
this._serverHeight = rect.height
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
throw new Error(util.format(
|
throw new Error(util.format(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue