summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-20 15:50:16 -0500
committerCedric BAIL <cedric@osg.samsung.com>2015-08-17 18:10:11 +0200
commita180c2d5de79e210814691ea023a6010cf7860c3 (patch)
tree93ced6c9166d5cc34ac344171780751e57e08eb2
parentb7f3fcb205a9ccf152a13d5cc052f4162eba3741 (diff)
downloadenlightenment-a180c2d5de79e210814691ea023a6010cf7860c3.tar.gz
only set mouse-in focus if target window is not already the focused window
T483 again
-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 6eef63b300..7bd6068890 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;