Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
desktops.c
Log Message:
Stack desktop windows below buttons.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -3 -r1.103 -r1.104
--- desktops.c 17 Nov 2004 19:31:11 -0000 1.103
+++ desktops.c 2 Dec 2004 20:59:20 -0000 1.104
@@ -1134,11 +1134,11 @@
}
}
- /* Normal EWins on this desk */
+ /* Normal EWins on this desk (except Desktops) */
for (i = 0; i < wnum; i++)
{
ewin = lst[i];
- if (ewin->floating || EwinGetDesk(ewin) != desk)
+ if (ewin->floating || EwinGetDesk(ewin) != desk || ewin->layer == 0)
continue;
_APPEND_TO_WIN_LIST(ewin->win);
@@ -1166,6 +1166,16 @@
_APPEND_TO_WIN_LIST(blst[i]->win);
}
+ /* Desktop type EWins on this desk */
+ for (i = 0; i < wnum; i++)
+ {
+ ewin = lst[i];
+ if (ewin->floating || EwinGetDesk(ewin) != desk || ewin->layer != 0)
+ continue;
+
+ _APPEND_TO_WIN_LIST(ewin->win);
+ }
+
if (EventDebug(EDBUG_TYPE_STACKING))
{
Eprintf("StackDesktop %d:\n", desk);
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs