summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-03-10 17:03:36 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-03-10 17:03:36 +0900
commit139c5d59c4f61ae1948cdb16f2a4353fedf2cecb (patch)
tree4a67244988bfcf0290be779162b96a884e48313f
parent8832a5f11c2d350e94cf5605f4951411570d9404 (diff)
popup: fix mistake
this is introduced in d4eaee4eb97210ed153c161fc8b7d21967f61131. the position should be rearragned after geometry_get().
-rw-r--r--src/lib/elc_popup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 58a08800f..0329e23c8 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -1425,13 +1425,14 @@ _parent_geom_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_i
1425 Evas_Coord x, y, w, h; 1425 Evas_Coord x, y, w, h;
1426 Evas_Object *popup = data; 1426 Evas_Object *popup = data;
1427 1427
1428 evas_object_geometry_get(obj, &x, &y, &w, &h);
1429
1428 if (eo_isa(obj, ELM_WIN_CLASS)) 1430 if (eo_isa(obj, ELM_WIN_CLASS))
1429 { 1431 {
1430 x = 0; 1432 x = 0;
1431 y = 0; 1433 y = 0;
1432 } 1434 }
1433 1435
1434 evas_object_geometry_get(obj, &x, &y, &w, &h);
1435 evas_object_move(popup, x, y); 1436 evas_object_move(popup, x, y);
1436 evas_object_resize(popup, w, h); 1437 evas_object_resize(popup, w, h);
1437} 1438}