block refocus of currently focused window when applying desk focus

This commit is contained in:
Mike Blumenkrantz 2013-04-23 16:25:56 +01:00 committed by Cedric BAIL
parent 56421ea30a
commit 45076fc6ba
1 changed files with 3 additions and 0 deletions

View File

@ -1079,7 +1079,10 @@ e_border_hide(E_Border *bd,
e_border_focus_set(bd->parent, 1, 1);
else if (e_config->focus_revert_on_hide_or_close)
{
Eina_Bool unlock = bd->lock_focus_out;
bd->lock_focus_out = 1;
e_desk_last_focused_focus(desk);
bd->lock_focus_out = unlock;
}
else if (e_config->focus_policy == E_FOCUS_MOUSE)
{