discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=0492186b55b525d71b0cf3756d2df1750ab5d48f
commit 0492186b55b525d71b0cf3756d2df1750ab5d48f Author: Mike Blumenkrantz <[email protected]> Date: Fri Dec 20 15:50:16 2013 -0500 only set mouse-in focus if target window is not already the focused window T483 again --- src/bin/e_focus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_focus.c b/src/bin/e_focus.c index 11836fe..28b7095 100644 --- a/src/bin/e_focus.c +++ b/src/bin/e_focus.c @@ -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; --
