discomfitor pushed a commit to branch enlightenment-0.20.

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

commit 1faf199f4536d2827b19c4ce383c9d4f50307ee1
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue May 3 20:24:23 2016 -0400

    don't refocus deleted clients during wl compositor grab
---
 src/bin/e_comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 0d78bda..afdda77 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1661,7 +1661,7 @@ e_comp_grab_input(Eina_Bool mouse, Eina_Bool kbd)
         e_comp->input_key_grabs += kbd;
         if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
           {
-             if (ec)
+             if (ec && (!e_object_is_del(E_OBJECT(ec))))
                evas_object_focus_set(ec->frame, 1);
           }
      }

-- 


Reply via email to