discomfitor pushed a commit to branch master.

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

commit b742baff5be4cb03ff19577841cff5cc4a2ee4f1
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 f56efab..05f1f2f 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