projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1fbf3
)
popup: fix mistake
author
ChunEon Park
<hermet@hermet.pe.kr>
Tue, 10 Mar 2015 08:03:36 +0000
(17:03 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Tue, 10 Mar 2015 08:07:03 +0000
(17:07 +0900)
this is introduced in
d4eaee4eb97210ed153c161fc8b7d21967f61131
.
the position should be rearragned after geometry_get().
src/lib/elc_popup.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_popup.c
b/src/lib/elc_popup.c
index
83722bc
..
48ed800
100644
(file)
--- a/
src/lib/elc_popup.c
+++ b/
src/lib/elc_popup.c
@@
-1450,13
+1450,14
@@
_parent_geom_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_i
Evas_Coord x, y, w, h;
Evas_Object *popup = data;
+ evas_object_geometry_get(obj, &x, &y, &w, &h);
+
if (eo_isa(obj, ELM_WIN_CLASS))
{
x = 0;
y = 0;
}
- evas_object_geometry_get(obj, &x, &y, &w, &h);
evas_object_move(popup, x, y);
evas_object_resize(popup, w, h);
}