Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c 


Log Message:


more paranoid on the killing

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.328
retrieving revision 1.329
diff -u -3 -r1.328 -r1.329
--- e_border.c  12 Jul 2005 03:53:44 -0000      1.328
+++ e_border.c  12 Jul 2005 08:57:02 -0000      1.329
@@ -6489,6 +6489,11 @@
          {
             bd->hung = 0;
             edje_object_signal_emit(bd->bg_object, "unhung", "");
+            if (bd->kill_timer)
+              {
+                 ecore_timer_del(bd->kill_timer);
+                 bd->kill_timer = NULL;
+              }
          }
      }
    else
@@ -6516,8 +6521,11 @@
    E_Border *bd;
    
    bd = data;
-   if (bd->client.netwm.pid > 1)
-     kill(bd->client.netwm.pid, SIGKILL);
+   if (bd->hung)
+     {
+       if (bd->client.netwm.pid > 1)
+         kill(bd->client.netwm.pid, SIGKILL);
+     }
    bd->kill_timer = NULL;
    return 0;
 }




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to