forked from enlightenment/enlightenment
only set mouse-in focus if target window is not already the focused window
T483 again
This commit is contained in:
parent
1868f28480
commit
bd6bbdd5f4
|
@ -30,6 +30,7 @@ e_focus_event_mouse_in(E_Border *bd)
|
||||||
if ((e_config->focus_policy == E_FOCUS_MOUSE) ||
|
if ((e_config->focus_policy == E_FOCUS_MOUSE) ||
|
||||||
(e_config->focus_policy == E_FOCUS_SLOPPY))
|
(e_config->focus_policy == E_FOCUS_SLOPPY))
|
||||||
{
|
{
|
||||||
|
if (bd != e_border_focused_get())
|
||||||
e_border_focus_set(bd, 1, 1);
|
e_border_focus_set(bd, 1, 1);
|
||||||
}
|
}
|
||||||
if (bd->raise_timer) ecore_timer_del(bd->raise_timer);
|
if (bd->raise_timer) ecore_timer_del(bd->raise_timer);
|
||||||
|
|
Loading…
Reference in New Issue