Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        desktops.c ewin-ops.c 


Log Message:
Avoid creating bg pixmap before needed.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -3 -r1.114 -r1.115
--- desktops.c  21 Jan 2005 20:12:10 -0000      1.114
+++ desktops.c  21 Jan 2005 20:34:40 -0000      1.115
@@ -412,6 +412,9 @@
        }
    }
 
+   /* Set the _XROOT... atoms so apps will find them even before the bg is set 
*/
+   HintsSetRootInfo(EoGetWin(d), None, 0);
+
    return d;
 }
 
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewin-ops.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewin-ops.c  9 Jan 2005 22:36:00 -0000       1.5
+++ ewin-ops.c  21 Jan 2005 20:34:41 -0000      1.6
@@ -1291,8 +1291,11 @@
    desk = desk % Conf.desks.num;
    if (desk != pdesk && !EoIsSticky(ewin))
      {
+#if 0                          /* Not necessary when the the _XROOT... atoms 
are initially set on each desk */
+       /* Refresh bg before apps are planted so they can pick it up */
        DeskSetViewable(desk, 1);
        RefreshDesktop(desk);
+#endif
        EoSetDesk(ewin, desk);
        ModulesSignal(ESIGNAL_DESK_CHANGE, (void *)pdesk);
      }




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to