From: Youngbok Shin Date: Mon, 20 Jan 2014 09:54:20 +0000 (+0900) Subject: conform: Fixed to get a geometry from *focus_region_get for show_region_job. X-Git-Tag: v1.9.0-alpha1~177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d93cbb54a48e3f7671dc1f478d28c8c8f2014cee;p=platform%2Fupstream%2Felementary.git conform: Fixed to get a geometry from *focus_region_get for show_region_job. Summary: The geometry of elm_widget_show_region_get is only updated by elm_widget_show_region_set. If the geometry of *show_region_get is not updated, the result of show_region_job would be incorrect. So, we need to get a proper geometry using *focus_region_get for focused object. Reviewers: seoz, woohyun, Hermet, raster, tasn Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D466 --- diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index 7317074db..18552405c 100644 --- a/src/lib/elm_conform.c +++ b/src/lib/elm_conform.c @@ -689,7 +689,7 @@ _show_region_job(void *data) { Evas_Coord x, y, w, h; - elm_widget_show_region_get(focus_obj, &x, &y, &w, &h); + elm_widget_focus_region_get(focus_obj, &x, &y, &w, &h); if (h < _elm_config->finger_size) h = _elm_config->finger_size;