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
This commit is contained in:
Youngbok Shin 2014-01-20 18:54:20 +09:00 committed by Carsten Haitzler (Rasterman)
parent 5de43831aa
commit 585be3a4e1
1 changed files with 1 additions and 1 deletions

View 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;