discomfitor pushed a commit to branch master.

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

commit b67381916e60ebc12d29a10f9a5cfebaa341169c
Author: discomfitor <michael.blumenkra...@gmail.com>
Date:   Sat Oct 26 09:53:15 2013 +0100

    unfocus focused+disabled widget always, not just when focus jump fails
    
    pretty sure this doesn't affect anything in e18, but it does break things 
in a really hard to reproduce setting involving clicking/disabling/focusing 
widgets simultaneously
---
 src/bin/e_widget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_widget.c b/src/bin/e_widget.c
index eab7e69..ee8cc68 100644
--- a/src/bin/e_widget.c
+++ b/src/bin/e_widget.c
@@ -460,7 +460,8 @@ e_widget_disabled_set(Evas_Object *obj, int disabled)
              if (!o) break;
              parent = o;
           }
-        if (!e_widget_focus_jump(parent, 1))
+        e_widget_focus_jump(parent, 1);
+        if (sd->focused)
           {
              sd->focused = 0;
              if (sd->focus_func) sd->focus_func(obj);

-- 


Reply via email to