Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_misc.c 


Log Message:
Make sure an evas isn't thawed before it's been frozen.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_misc.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -3 -r1.70 -r1.71
--- ewl_misc.c  2 Jun 2004 18:55:27 -0000       1.70
+++ ewl_misc.c  17 Jun 2004 04:36:05 -0000      1.71
@@ -236,17 +236,6 @@
                DRETURN_INT(TRUE, DLEVEL_STABLE);
 
        /*
-        * Freeze events on the evases to reduce overhead
-        */
-       ecore_list_goto_first(ewl_embed_list);
-       while ((emb = ecore_list_next(ewl_embed_list)) != NULL) {
-               if (emb->evas)
-                       evas_event_freeze(emb->evas);
-       }
-
-       edje_freeze();
-
-       /*
         * Clean out the unused widgets first, to avoid them being drawn or
         * unnecessary work done from configuration. Then display new widgets,
         * finally layout the widgets.
@@ -257,6 +246,17 @@
        if (!ecore_list_is_empty(realize_list))
                ewl_realize_queue();
 
+       /*
+        * Freeze events on the evases to reduce overhead
+        */
+       ecore_list_goto_first(ewl_embed_list);
+       while ((emb = ecore_list_next(ewl_embed_list)) != NULL) {
+               if (REALIZED(emb) && emb->evas)
+                       evas_event_freeze(emb->evas);
+       }
+
+       edje_freeze();
+
        if (!ecore_list_is_empty(configure_list))
                ewl_configure_queue();
 
@@ -267,7 +267,7 @@
         */
        ecore_list_goto_first(ewl_embed_list);
        while ((emb = ecore_list_next(ewl_embed_list)) != NULL) {
-               if (emb->evas) {
+               if (REALIZED(emb) && emb->evas) {
                        evas_event_thaw(emb->evas);
                        evas_render(emb->evas);
                }




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to