stack subsurfaces above their parents upon creation

handles the case where no explicit stacking is set on the subsurface
This commit is contained in:
Mike Blumenkrantz 2016-11-29 10:08:49 -05:00
parent 7b7ba99c4d
commit 0eb453f39c
1 changed files with 2 additions and 0 deletions

View File

@ -2318,6 +2318,8 @@ _e_comp_wl_subsurface_create(E_Client *ec, E_Client *epc, uint32_t id, struct wl
ec->comp_data->surface = surface_resource;
ec->comp_data->sub.data = sdata;
evas_object_layer_set(ec->frame, evas_object_layer_get(epc->frame));
evas_object_stack_above(ec->frame, epc->frame);
return EINA_TRUE;