woohyun pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=6c05e867896eb998730cb92af94a4d56d4d8fe9c

commit 6c05e867896eb998730cb92af94a4d56d4d8fe9c
Author: WooHyun Jung <wh0705.j...@samsung.com>
Date:   Thu Mar 20 12:55:28 2014 +0900

    elm_widget: Restore removed codes while eolian work.
---
 src/lib/elm_widget.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 25f1786..a212099 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -2841,7 +2841,13 @@ _elm_widget_focus_region_get(Eo *obj, 
Elm_Widget_Smart_Data *_pd EINA_UNUSED, Ev
 {
    Eina_Bool int_ret = EINA_FALSE;
    eo_do((Eo *)obj, elm_obj_widget_on_focus_region(x, y, w, h, &int_ret));
-   return int_ret;
+   if (!int_ret)
+     {
+        evas_object_geometry_get(obj, NULL, NULL, w, h);
+        if (x) *x = 0;
+        if (y) *y = 0;
+     }
+   return EINA_TRUE;
 }
 
 EOLIAN static void

-- 


Reply via email to