fix restart! mouse bindings broken! manage windows and use config before

config loaded!



SVN revision: 37619
This commit is contained in:
Carsten Haitzler 2008-11-14 10:53:03 +00:00
parent a76420657d
commit e36e5ade27
2 changed files with 15 additions and 2 deletions

View File

@ -65,6 +65,7 @@ static int _e_main_dirs_init(void);
static int _e_main_dirs_shutdown(void);
static int _e_main_screens_init(void);
static int _e_main_screens_shutdown(void);
static void _e_main_manage_all(void);
static int _e_main_path_init(void);
static int _e_main_path_shutdown(void);
@ -1016,6 +1017,9 @@ main(int argc, char **argv)
TS("shelf config init");
e_shelf_config_init();
TS("manage all windows");
_e_main_manage_all();
/* an idle enterer to be called after all others */
_e_main_idle_enterer_after = ecore_idle_enterer_add(_e_main_cb_idler_after, NULL);
@ -1242,7 +1246,7 @@ _e_main_screens_init(void)
e_grabinput_focus(con->bg_win, E_FOCUS_METHOD_PASSIVE);
e_hints_manager_init(man);
_e_main_desk_restore(man, con);
e_manager_manage_windows(man);
// e_manager_manage_windows(man);
}
else
{
@ -1278,6 +1282,15 @@ _e_main_screens_shutdown(void)
return 1;
}
static void
_e_main_manage_all(void)
{
Eina_List *l;
for (l = e_manager_list(); l; l = l->next)
e_manager_manage_windows(l->data);
}
static int
_e_main_path_init(void)
{

View File

@ -285,7 +285,7 @@ e_manager_manage_windows(E_Manager *man)
/* FIXME:
* It's enough to set the desk, the zone will
* be set according to the desk */
if (zone) e_border_zone_set(bd, zone);
// if (zone) e_border_zone_set(bd, zone);
if (desk) e_border_desk_set(bd, desk);
}
}