diff --git a/guacamole-common-js/src/main/resources/guacamole.js b/guacamole-common-js/src/main/resources/guacamole.js index 2e6e01a10..dd97769ef 100644 --- a/guacamole-common-js/src/main/resources/guacamole.js +++ b/guacamole-common-js/src/main/resources/guacamole.js @@ -1167,6 +1167,17 @@ Guacamole.Client = function(tunnel) { return displayScale; }; + /** + * Returns a canvas element containing the entire display, with all child + * layers composited within. + */ + this.flatten = function() { + + // STUB: For now, just return canvas from root layer + return getLayer(0).getCanvas(); + + }; + }; /**