Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c 


Log Message:


hmm only kill pid if pid > 1

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.278
retrieving revision 1.279
diff -u -3 -r1.278 -r1.279
--- e_border.c  22 Jun 2005 06:33:02 -0000      1.278
+++ e_border.c  22 Jun 2005 06:40:18 -0000      1.279
@@ -1670,8 +1670,9 @@
 void
 e_border_act_kill_begin(E_Border *bd)
 {
-   if (bd->client.netwm.pid != 0)
+   if (bd->client.netwm.pid > 1)
      {
+       printf("%i\n", bd->client.netwm.pid);
        kill(bd->client.netwm.pid, SIGINT);
        bd->kill_timer = ecore_timer_add(10.0, _e_border_cb_kill_timer, bd);
      }
@@ -5328,7 +5329,7 @@
    E_Border *bd;
    
    bd = data;
-   if (bd->client.netwm.pid != 0)
+   if (bd->client.netwm.pid > 1)
      kill(bd->client.netwm.pid, SIGKILL);
    bd->kill_timer = NULL;
    return 0;




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to