parent
f4e8e24b48
commit
a5e7d6d8ab
|
@ -36,7 +36,12 @@ HintsInit(void)
|
|||
Window win;
|
||||
|
||||
EDBUG(6, "HintsInit");
|
||||
|
||||
win = ECreateWindow(VRoot.win, -200, -200, 5, 5, 0);
|
||||
|
||||
/* retreive stuff from last time we were loaded if we're restarting */
|
||||
ICCCM_GetMainEInfo();
|
||||
|
||||
ICCCM_Init();
|
||||
#if ENABLE_GNOME
|
||||
GNOME_SetHints(win);
|
||||
|
|
|
@ -1139,7 +1139,7 @@ ICCCM_GetMainEInfo(void)
|
|||
num = (int)lnum;
|
||||
if ((num > 0) && (c))
|
||||
{
|
||||
GotoDesktop(*c);
|
||||
desks.current = *c;
|
||||
XFree(c);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -266,18 +266,11 @@ main(int argc, char **argv)
|
|||
ShowDesktopControls();
|
||||
CheckEvent();
|
||||
|
||||
/* retreive stuff from last time we were loaded if we're restarting */
|
||||
ICCCM_GetMainEInfo();
|
||||
|
||||
SetupEnv();
|
||||
|
||||
if (Conf.mapslide)
|
||||
CreateStartupDisplay(0);
|
||||
|
||||
/* set some more hints */
|
||||
HintsSetDesktopViewport();
|
||||
desks.current = 0;
|
||||
|
||||
/* Set up the iconboxes and pagers */
|
||||
IB_Setup();
|
||||
if (Conf.pagers.enable)
|
||||
|
@ -323,7 +316,6 @@ main(int argc, char **argv)
|
|||
autosave();
|
||||
|
||||
/* let's make sure we set this up and go to our desk anyways */
|
||||
ICCCM_GetMainEInfo();
|
||||
GotoDesktop(desks.current);
|
||||
if (desks.current < (Conf.desks.num - 1))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue