Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        desktops.c 


Log Message:
Don't timeout background pixmap for current desk.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -3 -r1.59 -r1.60
--- desktops.c  6 Feb 2004 19:56:26 -0000       1.59
+++ desktops.c  8 Feb 2004 22:00:33 -0000       1.60
@@ -1938,10 +1938,6 @@
                 ((now - lst[i]->last_viewed) <= conf.desktop_bg_timeout))
                continue;
 
-            IMLIB1_SET_CONTEXT(lst[i] == desks.desk[0].bg);
-            imlib_free_pixmap_and_mask(lst[i]->pmap);
-            lst[i]->pmap = 0;
-
             for (j = 0; j < ENLIGHTENMENT_CONF_NUM_DESKTOPS; j++)
               {
                  if ((desks.desk[j].bg == lst[i]) && (!desks.desk[j].viewable))
@@ -1951,6 +1947,10 @@
                       HintsSetRootInfo(win, 0, 0);
                       XSetWindowBackground(disp, win, 0);
                       XClearWindow(disp, win);
+
+                      IMLIB1_SET_CONTEXT(lst[i] == desks.desk[0].bg);
+                      imlib_free_pixmap_and_mask(lst[i]->pmap);
+                      lst[i]->pmap = 0;
                    }
               }
 




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to