From d93cbb54a48e3f7671dc1f478d28c8c8f2014cee Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Mon, 20 Jan 2014 18:54:20 +0900 Subject: [PATCH] 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 --- src/lib/elm_conform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index 7317074..1855240 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; -- 2.7.4