raster pushed a commit to branch master.

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

commit bd383df05e2128c79be3ca2494cff6ac304d8892
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue May 20 15:34:01 2014 +0900

    fix 0 size focus region
    
    @fix - this fixes T1205 ... or should fix it... in theory.
---
 src/lib/elm_widget.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index f4225a0..ce2b920 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -2899,6 +2899,7 @@ _elm_widget_focus_region_get(Eo *obj, 
Elm_Widget_Smart_Data *_pd EINA_UNUSED, Ev
         if (x) *x = 0;
         if (y) *y = 0;
      }
+   if ((*w <= 0) || (*h <= 0)) return EINA_FALSE;
    return EINA_TRUE;
 }
 

-- 


Reply via email to