summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2014-01-20 18:54:20 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-20 18:54:20 +0900
commitd93cbb54a48e3f7671dc1f478d28c8c8f2014cee (patch)
tree17594e407e9e95088021fab26feb8e6ac74dc988
parentd8821dea6997728a3645c171b0d2258d93d9d498 (diff)
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
-rw-r--r--src/lib/elm_conform.c2
1 files changed, 1 insertions, 1 deletions
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)
689 { 689 {
690 Evas_Coord x, y, w, h; 690 Evas_Coord x, y, w, h;
691 691
692 elm_widget_show_region_get(focus_obj, &x, &y, &w, &h); 692 elm_widget_focus_region_get(focus_obj, &x, &y, &w, &h);
693 693
694 if (h < _elm_config->finger_size) 694 if (h < _elm_config->finger_size)
695 h = _elm_config->finger_size; 695 h = _elm_config->finger_size;