summaryrefslogtreecommitdiff
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
parent5a6dcf17f322c52cf9745e6f83d9c11a6763f55c (diff)
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 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)
30 if ((e_config->focus_policy == E_FOCUS_MOUSE) || 30 if ((e_config->focus_policy == E_FOCUS_MOUSE) ||
31 (e_config->focus_policy == E_FOCUS_SLOPPY)) 31 (e_config->focus_policy == E_FOCUS_SLOPPY))
32 { 32 {
33 e_border_focus_set(bd, 1, 1); 33 if (bd != e_border_focused_get())
34 e_border_focus_set(bd, 1, 1);
34 } 35 }
35 if (bd->raise_timer) ecore_timer_del(bd->raise_timer); 36 if (bd->raise_timer) ecore_timer_del(bd->raise_timer);
36 bd->raise_timer = NULL; 37 bd->raise_timer = NULL;