GUAC-236: Layers should be parented to default layer by default.

This commit is contained in:
Michael Jumper 2016-02-28 12:15:38 -08:00
parent e3d0c5e5ef
commit 19814a4c8a

View File

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