Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        hints.c setup.c 


Log Message:
Don't set hints before we are ready for it.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/hints.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- hints.c     7 May 2005 11:19:58 -0000       1.41
+++ hints.c     2 Jun 2005 17:30:07 -0000       1.42
@@ -47,6 +47,12 @@
 #endif
    atom = XInternAtom(disp, "ENLIGHTENMENT_VERSION", False);
    ecore_x_window_prop_string_set(VRoot.win, atom, e_wm_version);
+
+   if (Mode.wm.window)
+     {
+       HintsSetWindowName(VRoot.win, "Enlightenment");
+       HintsSetWindowClass(VRoot.win, "Virtual-Root", "Enlightenment");
+     }
 }
 
 void
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/setup.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -3 -r1.161 -r1.162
--- setup.c     28 May 2005 06:23:51 -0000      1.161
+++ setup.c     2 Jun 2005 17:30:07 -0000       1.162
@@ -229,9 +229,6 @@
                                  CWBorderPixel, &attr);
        ERegisterWindow(VRoot.win);
 
-       HintsSetWindowName(VRoot.win, "Enlightenment");
-       HintsSetWindowClass(VRoot.win, "Virtual-Root", "Enlightenment");
-
        /* Enable eesh and edox to pix up the virtual root */
        Esnprintf(buf, sizeof(buf), "%#lx", VRoot.win);
        Esetenv("ENL_WM_ROOT", buf, 1);




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to