Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
hints.c icccm.c main.c
Log Message:
Clean up hint handling at startup.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/hints.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- hints.c 30 May 2004 12:30:51 -0000 1.22
+++ hints.c 31 May 2004 20:14:50 -0000 1.23
@@ -36,7 +36,12 @@
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);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/icccm.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- icccm.c 22 May 2004 19:31:12 -0000 1.64
+++ icccm.c 31 May 2004 20:14:50 -0000 1.65
@@ -1139,7 +1139,7 @@
num = (int)lnum;
if ((num > 0) && (c))
{
- GotoDesktop(*c);
+ desks.current = *c;
XFree(c);
}
}
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/main.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -3 -r1.95 -r1.96
--- main.c 29 May 2004 19:01:58 -0000 1.95
+++ main.c 31 May 2004 20:14:50 -0000 1.96
@@ -266,18 +266,11 @@
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 @@
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))
{
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs