e17: one more focus fix, e_border_focus_set_with_pointer could set bd->want_focus again.

SVN revision: 63088
This commit is contained in:
Hannes Janetzek 2011-09-02 11:12:03 +00:00
parent 7161ecf1b8
commit 0cdba19a2a
1 changed files with 2 additions and 2 deletions

View File

@ -7837,8 +7837,10 @@ _e_border_eval(E_Border *bd)
if ((bd->take_focus) || (bd->want_focus))
{
bd->take_focus = 0;
if ((e_config->focus_setting == E_FOCUS_NEW_WINDOW) || (bd->want_focus))
{
bd->want_focus = 0;
e_border_focus_set_with_pointer(bd);
}
else if (bd->client.netwm.type == ECORE_X_WINDOW_TYPE_DIALOG)
@ -7867,8 +7869,6 @@ _e_border_eval(E_Border *bd)
if (!bd2)
e_border_focus_set_with_pointer(bd);
}
bd->want_focus = 0;
bd->take_focus = 0;
}
if (bd->need_maximize)