only set mouse-in focus if target window is not already the focused window

T483 again
This commit is contained in:
Mike Blumenkrantz 2013-12-20 15:50:16 -05:00 committed by Cedric BAIL
parent b7f3fcb205
commit a180c2d5de
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ e_focus_event_mouse_in(E_Border *bd)
if ((e_config->focus_policy == E_FOCUS_MOUSE) ||
(e_config->focus_policy == E_FOCUS_SLOPPY))
{
e_border_focus_set(bd, 1, 1);
if (bd != e_border_focused_get())
e_border_focus_set(bd, 1, 1);
}
if (bd->raise_timer) ecore_timer_del(bd->raise_timer);
bd->raise_timer = NULL;