GUAC-236: Layers should be parented to default layer by default.
This commit is contained in:
parent
e3d0c5e5ef
commit
19814a4c8a
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user