Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        warp.c 


Log Message:
Include no or all iconified windows in focus list.
 (patch from Alan Schmitt <[EMAIL PROTECTED]>).

===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/warp.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- warp.c      2 Feb 2004 19:42:35 -0000       1.33
+++ warp.c      24 Feb 2004 16:57:57 -0000      1.34
@@ -100,18 +100,18 @@
             for (i = num0 - 1; i >= 0; --i)
               {
                  ewin = lst0[i];
-                 if (((ewin->sticky) || (ewin->desktop == desks.current))
-                     && (ewin->x + ewin->w > 0) && (ewin->x < root.w)
-                     && (ewin->y + ewin->h > 0) && (ewin->y < root.h)
-                     && (!ewin->skipfocus) && !(ewin->shaded
-                                                && !conf.warplist.warpshaded)
-                     && (!ewin->menu) && (!ewin->pager) && !(ewin->sticky
-                                                             && !conf.warplist.
-                                                             warpsticky)
-                     && (!ewin->ibox) && !(ewin->iconified
-                                           && !conf.warplist.warpiconified)
-                     /*&& (ewin->client.mwm_decor_title) &&
-                      * (ewin->client.mwm_decor_border) */
+                 if (          /* Either visible or iconified */
+                       ((EwinIsOnScreen(ewin)) || (ewin->iconified))
+                       /* Exclude windows that explicitely say so */
+                       && (!ewin->skipfocus)
+                       /* Keep shaded windows if conf say so */
+                       && ((!ewin->shaded) || (conf.warplist.warpshaded))
+                       /* Keep sticky windows if conf say so */
+                       && ((!ewin->sticky) || (conf.warplist.warpsticky))
+                       /* Keep iconified windows if conf say so */
+                       && ((!ewin->iconified) || (conf.warplist.warpiconified))
+                       /*&& (ewin->client.mwm_decor_title) &&
+                        * (ewin->client.mwm_decor_border) */
                     )
                     AddItem(ewin, "", 0, LIST_TYPE_WARP_RING);
               }




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to