Enlightenment CVS committal

Author  : jeoparde
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        ecore_x.c 


Log Message:
Whoopsie, my mistake earlier ... was too eager to get to bed :)
No, we won't just kill all clients, we'll kill all clients under the
specified root window.


===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ecore_x.c   12 Oct 2003 17:35:35 -0000      1.12
+++ ecore_x.c   12 Oct 2003 22:39:12 -0000      1.13
@@ -375,11 +375,13 @@
 }
 
 /**
- * Kill all X clients.
+ * Kill all clients under a specified root window.
  * @param root The root window whose children will be killed.
  *
  * This function will start from the given root window and kill the owner of
- * every child window under it.
+ * every child window under it. To kill all clients connected to an X server,
+ * use the ecore_x_window_root_list() function to obtain an array of root
+ * windows, and then pass each window to this function.
  * <hr><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  */
 void
@@ -399,7 +401,6 @@
       Window parent_r;
       Window *children_r = NULL;
       int num_children = 0;
-      Window root = RootWindow(_ecore_x_disp, i);
 
       while (XQueryTree(_ecore_x_disp, root, &root_r, &parent_r,
                &children_r, &num_children) && num_children > 0)




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to