aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-20 15:50:16 -0500
committerMike Blumenkrantz <zmike@samsung.com>2013-12-20 15:50:53 -0500
commit0492186b55b525d71b0cf3756d2df1750ab5d48f (patch)
treeb689eac1754da7c21cca6a4cf5ff04a88df944d6
parentadd separate elm version requirement (diff)
downloadenlightenment-0492186b55b525d71b0cf3756d2df1750ab5d48f.tar.gz
only set mouse-in focus if target window is not already the focused window
-rw-r--r--src/bin/e_focus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_focus.c b/src/bin/e_focus.c
index 11836fee2..28b70952b 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;