conform: Fixed to get a geometry from *focus_region_get for show_region_job.
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 20 Jan 2014 09:54:20 +0000 (18:54 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 20 Jan 2014 09:54:20 +0000 (18:54 +0900)
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

index 7317074..1855240 100644 (file)
@@ -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;