GUAC-236: Layers must default to unparented.

This commit is contained in:
Michael Jumper 2016-02-27 14:51:33 -08:00
parent a0197ee2c2
commit 9407f8bcde

View File

@ -43,6 +43,9 @@ guacenc_layer* guacenc_layer_alloc() {
/* Layers default to fully opaque */
layer->opacity = 0xFF;
/* Default to unparented */
layer->parent_index = GUACENC_LAYER_NO_PARENT;
return layer;
}