forked from enlightenment/enlightenment
fix longstanding focus bug where root window would incorrectly receive focus
WE DON'T EVEN DO THAT SVN revision: 74851
This commit is contained in:
parent
60ad9ed93e
commit
7ba11ee2c1
|
@ -2166,7 +2166,7 @@ e_border_focus_set(E_Border *bd,
|
|||
|
||||
if ((set) && (!focus_next) && (!focusing))
|
||||
{
|
||||
e_grabinput_focus(bd->zone->container->manager->root,
|
||||
e_grabinput_focus(bd->zone->container->bg_win,
|
||||
E_FOCUS_METHOD_PASSIVE);
|
||||
}
|
||||
}
|
||||
|
@ -4532,7 +4532,7 @@ _e_border_free(E_Border *bd)
|
|||
{
|
||||
if ((!focus_next) && (!focusing))
|
||||
{
|
||||
e_grabinput_focus(bd->zone->container->manager->root,
|
||||
e_grabinput_focus(bd->zone->container->bg_win,
|
||||
E_FOCUS_METHOD_PASSIVE);
|
||||
e_hints_active_window_set(bd->zone->container->manager, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue