mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:13:31 +02:00
Update server width based on desktop size.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user