Enlightenment CVS committal

Author  : handyande
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_main.c 


Log Message:
Fix showing of windows if we are starting afresh
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_main.c    20 Jan 2005 14:01:31 -0000      1.35
+++ e_main.c    20 Jan 2005 14:22:51 -0000      1.36
@@ -521,8 +521,9 @@
                       ret = ecore_x_window_prop_card32_get(windows[i],
                                                            E_ATOM_MANAGED,
                                                            &ret_val, 1);
-                      if (((att.visible) && (!att.override) && 
-                          (!att.input_only)) || (ret > -1 && ret_val == 1))
+                      
+                      /* we have seen this window before */
+                      if (ret > -1 && ret_val == 1)
                         {
                            E_Border *bd;
 
@@ -551,6 +552,16 @@
                            if ((ret > -1) && ret_val)
                              e_border_iconify(bd);
                         }
+                      else if ((att.visible) && (!att.override) &&
+                               (!att.input_only))
+                        {
+                           /* We have not seen this window, and X tells us it
+                            * should be seen */
+                           E_Border *bd;
+                           bd = e_border_new(con, windows[i], 1);
+                           if (bd)
+                             e_border_show(bd);
+                        }
                    }
               }
             ecore_x_netwm_desk_roots_set(man->root, 1, &(con->win));




-------------------------------------------------------
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