discomfitor pushed a commit to branch enlightenment-0.21.

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

commit d832fb5b30ac4ef5cf4de4c3b05bf6cd1013618a
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Apr 14 11:48:49 2017 -0400

    avoid refocusing deleted wl clients during comp input ungrabbing
    
    this is an error
---
 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 e4f12db..a94858f 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1700,7 +1700,7 @@ e_comp_ungrab_input(Eina_Bool mouse, Eina_Bool kbd)
      {
         E_Client *ec = e_client_focused_get();
 
-        if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
+        if ((!e_object_is_del(E_OBJECT(ec))) && (e_comp->comp_type == 
E_PIXMAP_TYPE_WL))
           {
              Eina_Bool mouse_in = ec->mouse.in;
              int x, y;

-- 


Reply via email to