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 bf40d92ad8
commit 19a902ec09
1 changed files with 2 additions and 0 deletions

View File

@ -2351,6 +2351,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;