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:
395d834
)
elm_widget: add logic for updating geometry after moving
20/104520/2
author
Hosang Kim
<hosang12.kim@samsung.com>
Tue, 13 Dec 2016 11:19:45 +0000
(20:19 +0900)
committer
Gerrit Code Review
<gerrit@review.vlan103.tizen.org>
Thu, 15 Dec 2016 05:38:45 +0000
(21:38 -0800)
scrollable object.
In multiple scrollable case, the target object should be updated.
Because the movement of the first object is finished. So the parent of
the first object should be target object.
Change-Id: I9f8198fb0d9f4ac5c993574e7f9d7dd2b58ad402
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index 0c1e8e37acb2f2542addcbb2f4230b4c0c74d192..69d8dd119fb0b175fb4f5d9c55f3b9db55c6244f 100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-824,11
+824,8
@@
_elm_widget_focus_region_show(const Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNU
break;
}
- if (!elm_widget_focus_region_get(o, &x, &y, &w, &h))
- {
- o = elm_widget_parent_get(o);
- continue;
- }
+ elm_widget_focus_region_get(o, &x, &y, &w, &h);
+ evas_object_geometry_get(o, &ox, &oy, NULL, NULL);
}
else
{