forked from e16/e16
1
0
Fork 0

Don't set hints before we are ready for it.

SVN revision: 15061
This commit is contained in:
Kim Woelders 2005-06-02 17:30:07 +00:00
parent 6ddf01dc06
commit 6c43764470
2 changed files with 6 additions and 3 deletions

View File

@ -47,6 +47,12 @@ HintsInit(void)
#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

View File

@ -229,9 +229,6 @@ SetupX(const char *dstr)
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);