discomfitor pushed a commit to branch enlightenment-0.20.

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

commit e2cdc28ec0a0825132ef04d70c2aa289b966c1c5
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 10 15:18:19 2016 -0500

    reject attempts to focus deleted comp objects
---
 src/bin/e_comp_object.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index f0f4a44..6f20a17 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -1680,7 +1680,10 @@ _e_comp_intercept_focus(void *data, Evas_Object *obj, 
Eina_Bool focus)
      }
    if (focus && ec->lock_focus_out) return;
    if (e_object_is_del(E_OBJECT(ec)) && focus)
-     CRI("CAN'T FOCUS DELETED CLIENT!");
+     {
+        CRI("CAN'T FOCUS DELETED CLIENT!");
+        return;
+     }
 
    /* filter focus setting based on current state */
    if (focus)

-- 


Reply via email to