forked from enlightenment/enlightenment
stack subsurfaces above their parents upon creation
handles the case where no explicit stacking is set on the subsurface
This commit is contained in:
parent
bf40d92ad8
commit
19a902ec09
|
@ -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->surface = surface_resource;
|
||||||
ec->comp_data->sub.data = sdata;
|
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;
|
return EINA_TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue