summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_layer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_layer.c')
-rw-r--r--src/lib/evas/canvas/evas_layer.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/evas/canvas/evas_layer.c b/src/lib/evas/canvas/evas_layer.c
index b2749d1..38a0c9e 100644
--- a/src/lib/evas/canvas/evas_layer.c
+++ b/src/lib/evas/canvas/evas_layer.c
@@ -22,17 +22,6 @@ evas_object_inject(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *
22 lay->usage++; 22 lay->usage++;
23 obj->layer = lay; 23 obj->layer = lay;
24 obj->in_layer = 1; 24 obj->in_layer = 1;
25
26 if (obj->cur->geometry.x == obj->layer->evas->framespace.x &&
27 obj->cur->geometry.y == obj->layer->evas->framespace.y)
28 return ;
29
30 EINA_COW_STATE_WRITE_BEGIN(obj, state_write, cur)
31 {
32 state_write->geometry.x = obj->layer->evas->framespace.x;
33 state_write->geometry.y = obj->layer->evas->framespace.y;
34 }
35 EINA_COW_STATE_WRITE_END(obj, state_write, cur);
36} 25}
37 26
38void 27void