forked from enlightenment/efl
evas/wayland: Add framespace offset to newly created objects.
Patch originally done by: Christopher Michael <cp.michael@samsung.com>
This commit is contained in:
parent
6006432c3f
commit
89f20765ab
|
@ -22,6 +22,13 @@ evas_object_inject(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *
|
|||
lay->usage++;
|
||||
obj->layer = lay;
|
||||
obj->in_layer = 1;
|
||||
|
||||
EINA_COW_STATE_WRITE_BEGIN(obj, state_write, cur)
|
||||
{
|
||||
state_write->geometry.x = obj->layer->evas->framespace.x;
|
||||
state_write->geometry.y = obj->layer->evas->framespace.y;
|
||||
}
|
||||
EINA_COW_STATE_WRITE_END(obj, state_write, cur);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue