GUAC-236: Layers must default to unparented.
This commit is contained in:
parent
a0197ee2c2
commit
9407f8bcde
@ -43,6 +43,9 @@ guacenc_layer* guacenc_layer_alloc() {
|
|||||||
/* Layers default to fully opaque */
|
/* Layers default to fully opaque */
|
||||||
layer->opacity = 0xFF;
|
layer->opacity = 0xFF;
|
||||||
|
|
||||||
|
/* Default to unparented */
|
||||||
|
layer->parent_index = GUACENC_LAYER_NO_PARENT;
|
||||||
|
|
||||||
return layer;
|
return layer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user