mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Buffers should be resizable, too.
This commit is contained in:
@@ -439,9 +439,6 @@ Guacamole.Client = function(tunnel) {
|
||||
var width = parseInt(parameters[1]);
|
||||
var height = parseInt(parameters[2]);
|
||||
|
||||
// Only valid for layers (buffers auto-resize)
|
||||
if (layer_index >= 0) {
|
||||
|
||||
// Resize layer
|
||||
var layer_container = getLayerContainer(layer_index);
|
||||
layer_container.resize(width, height);
|
||||
@@ -458,8 +455,6 @@ Guacamole.Client = function(tunnel) {
|
||||
|
||||
}
|
||||
|
||||
} // end if layer (not buffer)
|
||||
|
||||
},
|
||||
|
||||
"sync": function(parameters) {
|
||||
|
Reference in New Issue
Block a user