diff --git a/lib/units/device/plugins/vnc/util/connection.js b/lib/units/device/plugins/vnc/util/connection.js index fe43028b..7233c9b0 100644 --- a/lib/units/device/plugins/vnc/util/connection.js +++ b/lib/units/device/plugins/vnc/util/connection.js @@ -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(