Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        main.c 


Log Message:


set root to pixel color 0 (normally framebuffer default) on strartup asap to
avoid ugly hash bg... also makes login slicker without the hash.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/main.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- main.c      8 Dec 2004 16:53:07 -0000       1.62
+++ main.c      10 Dec 2004 00:53:57 -0000      1.63
@@ -731,6 +731,24 @@
       return (-1);
    }
 #endif
+   if (!testing)
+     {
+       Ecore_X_Window *roots;
+        int num, i;
+       
+        num = 0;
+       roots = ecore_x_window_root_list(&num);
+       if (roots)
+         {
+            for (i = 0; i < num; i++)
+              {
+                 ecore_x_window_background_color_set(roots[i], 0);
+                 ecore_x_window_cursor_show(roots[i], 0);
+              }
+            free(roots);
+            ecore_x_sync();
+         }
+     }
    ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, exit_cb, NULL);
    ecore_idle_enterer_add(idler_before_cb, NULL);
 
@@ -932,6 +950,23 @@
       entrance_ipc_session_set(session);
       entrance_session_run(session);
 
+   if (!testing)
+     {
+       Ecore_X_Window *roots;
+        int num, i;
+       
+        num = 0;
+       roots = ecore_x_window_root_list(&num);
+       if (roots)
+         {
+            for (i = 0; i < num; i++)
+              {
+                 ecore_x_window_cursor_show(roots[i], 1);
+              }
+            free(roots);
+            ecore_x_sync();
+         }
+     }
       if (session->authed)
       {
          entrance_session_start_user_session(session);




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

Reply via email to