1
0
Fork 0
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:
Simo Kinnunen 2015-09-15 04:02:21 +09:00
parent ced0bf99a7
commit d5bfcb16d4

View file

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