parent
83afd093dc
commit
8c72efbd5d
1
src/E.h
1
src/E.h
|
@ -1819,6 +1819,7 @@ void HintsGetWindowHints(EWin * ewin);
|
||||||
void HintsDelWindowHints(EWin * ewin);
|
void HintsDelWindowHints(EWin * ewin);
|
||||||
void HintsProcessPropertyChange(EWin * ewin, Atom atom_change);
|
void HintsProcessPropertyChange(EWin * ewin, Atom atom_change);
|
||||||
void HintsProcessClientMessage(XClientMessageEvent * event);
|
void HintsProcessClientMessage(XClientMessageEvent * event);
|
||||||
|
void HintsSetRootHints(Window win);
|
||||||
void HintsSetRootInfo(Window win, Pixmap pmap, int color);
|
void HintsSetRootInfo(Window win, Pixmap pmap, int color);
|
||||||
|
|
||||||
void EHintsSetInfo(const EWin * ewin);
|
void EHintsSetInfo(const EWin * ewin);
|
||||||
|
|
|
@ -431,6 +431,8 @@ DeskCreate(int desk, int add_controls)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HintsSetRootHints(EoGetWin(d));
|
||||||
|
|
||||||
/* Set the _XROOT... atoms so apps will find them even before the bg is set */
|
/* Set the _XROOT... atoms so apps will find them even before the bg is set */
|
||||||
HintsSetRootInfo(EoGetWin(d), None, 0);
|
HintsSetRootInfo(EoGetWin(d), None, 0);
|
||||||
|
|
||||||
|
@ -607,6 +609,8 @@ DesksInit(void)
|
||||||
|
|
||||||
for (i = 0; i < Conf.desks.num; i++)
|
for (i = 0; i < Conf.desks.num; i++)
|
||||||
DeskCreate(i, 0);
|
DeskCreate(i, 0);
|
||||||
|
|
||||||
|
HintsSetDesktopConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -154,12 +154,6 @@ EWMH_Init(Window win_wm_check)
|
||||||
|
|
||||||
/* Set WM info properties */
|
/* Set WM info properties */
|
||||||
ecore_x_netwm_wm_identify(VRoot.win, win_wm_check, e_wm_name);
|
ecore_x_netwm_wm_identify(VRoot.win, win_wm_check, e_wm_name);
|
||||||
|
|
||||||
EWMH_SetDesktopCount();
|
|
||||||
EWMH_SetDesktopRoots();
|
|
||||||
EWMH_SetDesktopNames();
|
|
||||||
EWMH_SetDesktopSize();
|
|
||||||
EWMH_SetWorkArea();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -725,9 +725,6 @@ GNOME_SetHints(Window win_wm_check)
|
||||||
{
|
{
|
||||||
GNOME_SetWMNameVer();
|
GNOME_SetWMNameVer();
|
||||||
GNOME_SetUsedHints();
|
GNOME_SetUsedHints();
|
||||||
GNOME_SetDeskCount();
|
|
||||||
GNOME_SetDeskNames();
|
|
||||||
GNOME_SetAreaCount();
|
|
||||||
GNOME_SetWMCheck(win_wm_check);
|
GNOME_SetWMCheck(win_wm_check);
|
||||||
{
|
{
|
||||||
Atom atom_set;
|
Atom atom_set;
|
||||||
|
|
|
@ -37,9 +37,6 @@ HintsInit(void)
|
||||||
|
|
||||||
win = ECreateWindow(VRoot.win, -200, -200, 5, 5, 0);
|
win = ECreateWindow(VRoot.win, -200, -200, 5, 5, 0);
|
||||||
|
|
||||||
/* retreive stuff from last time we were loaded if we're restarting */
|
|
||||||
EHintsGetMainInfo();
|
|
||||||
|
|
||||||
ICCCM_Init();
|
ICCCM_Init();
|
||||||
#if ENABLE_GNOME
|
#if ENABLE_GNOME
|
||||||
GNOME_SetHints(win);
|
GNOME_SetHints(win);
|
||||||
|
@ -51,6 +48,12 @@ HintsInit(void)
|
||||||
ecore_x_window_prop_string_set(VRoot.win, atom, e_wm_version);
|
ecore_x_window_prop_string_set(VRoot.win, atom, e_wm_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
HintsSetRootHints(Window win __UNUSED__)
|
||||||
|
{
|
||||||
|
/* Nothing done here for now */
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
HintsSetClientList(void)
|
HintsSetClientList(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -228,14 +228,17 @@ main(int argc, char **argv)
|
||||||
/* Unmap the clients */
|
/* Unmap the clients */
|
||||||
MapUnmap(0);
|
MapUnmap(0);
|
||||||
|
|
||||||
ModulesSignal(ESIGNAL_INIT, NULL);
|
/* Move elsewhere? */
|
||||||
|
|
||||||
/* Move elsewhere... */
|
|
||||||
HintsInit();
|
HintsInit();
|
||||||
CommsInit();
|
CommsInit();
|
||||||
SessionInit();
|
SessionInit();
|
||||||
LoadSnapInfo();
|
LoadSnapInfo();
|
||||||
|
|
||||||
|
ModulesSignal(ESIGNAL_INIT, NULL);
|
||||||
|
|
||||||
|
/* retreive stuff from last time we were loaded if we're restarting */
|
||||||
|
EHintsGetMainInfo();
|
||||||
|
|
||||||
/* Load the theme */
|
/* Load the theme */
|
||||||
ThemeConfigLoad();
|
ThemeConfigLoad();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue