forked from enlightenment/enlightenment
1. unset want focus...
2. initial focus :) SVN revision: 15752
This commit is contained in:
parent
37d7f8f0c3
commit
493ffb5b2a
|
@ -855,6 +855,11 @@ e_border_focus_set(E_Border *bd, int focus, int set)
|
|||
{
|
||||
E_OBJECT_CHECK(bd);
|
||||
E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
|
||||
if ((bd->visible) && (bd->changes.visible))
|
||||
{
|
||||
if ((bd->want_focus) && (set) && (!focus))
|
||||
bd->want_focus = 0;
|
||||
}
|
||||
if ((focus) && (!bd->focused))
|
||||
{
|
||||
if ((bd->visible) && (bd->changes.visible))
|
||||
|
|
|
@ -710,7 +710,6 @@ _e_main_screens_init(void)
|
|||
{
|
||||
man->num = i;
|
||||
e_manager_show(man);
|
||||
if (i == 0) ecore_x_window_focus(man->root);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -722,6 +721,7 @@ _e_main_screens_init(void)
|
|||
if (con)
|
||||
{
|
||||
e_container_show(con);
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue