Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/pager


Modified Files:
        e_mod_main.c 


Log Message:
Don't use the desk client list.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- e_mod_main.c        13 Mar 2005 02:38:17 -0000      1.57
+++ e_mod_main.c        15 Mar 2005 10:22:23 -0000      1.58
@@ -596,20 +596,17 @@
    evas_object_raise(face->screen);
 
    /* Add windows to the desk */
-   wins = desk->clients;
-   while (wins)
+   for (wins = desk->zone->container->clients; wins; wins = wins->next)
      {
        win = wins->data;
        if (win->new_client)
-         {
-            wins = wins->next;
-            continue;
-         }
+         continue;
+       if (win->desk != desk)
+         continue;
+
        pw = _pager_window_new(pd, win);
        if (pw)
          pd->wins = evas_list_append(pd->wins, pw);
-
-       wins = wins->next;
      }
    return pd;
 }




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to