Buffers should be resizable, too.
This commit is contained in:
1 parent
6cffafad6a
commit
5b902e669c
1 file changed
-5
@@ -439,9 +439,6 @@ Guacamole.Client = function(tunnel) {
|
|||||||
var width = parseInt(parameters[1]);
|
var width = parseInt(parameters[1]);
|
||||||
var height = parseInt(parameters[2]);
|
var height = parseInt(parameters[2]);
|
||||||
|
|
||||||
// Only valid for layers (buffers auto-resize)
|
|
||||||
if (layer_index >= 0) {
|
|
||||||
|
|
||||||
// Resize layer
|
// Resize layer
|
||||||
var layer_container = getLayerContainer(layer_index);
|
var layer_container = getLayerContainer(layer_index);
|
||||||
layer_container.resize(width, height);
|
layer_container.resize(width, height);
|
||||||
@@ -458,8 +455,6 @@ Guacamole.Client = function(tunnel) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // end if layer (not buffer)
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"sync": function(parameters) {
|
"sync": function(parameters) {
|
||||||
|
|||||||
Reference in new issue
Block a user